When you write out the result, do a replace:

REPLACE(strOriginal, vbCRLF, "<br />")

Chris Tifer
http://www.emailajoke.com


----- Original Message -----
From: "Kristinn Sigurp�ll Sturluson" <[EMAIL PROTECTED]>
To: "ActiveServerPages" <[EMAIL PROTECTED]>
Sent: Tuesday, August 13, 2002 3:08 PM
Subject: Inserting text into a database with formatting.


> I�m trying to insert text into a database (guestbook, lyrics etc.) but I
> can�t figure out how to make the text appear as written. For example if I
> want to make a space between lines by pressing enter or indenting certain
> lines by pressing space or tab. Does anyone know the answer to this?
>
> ---
> You are currently subscribed to activeserverpages as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to
%%email.unsub%%


---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to