|
|
|
|
|
| | |
|
Active Server Pages asp source code database MS SQL MS Access .mdb adovbs.inc cookies calendar codes sql commands scripts asp programming tutorials iis web server components CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Re: Carriage Returns in forms and Access DB |
From: |
bph |
Date: |
8/27/2001 12:00:32 PM |
IP: |
192.84.163.124 |
Set a variable to the ascii code for carriage return.
carriageReturnVariable = CHR(13)
Then, before you have your form enter the field into the db, replace all carriage returns with <br> or <p> with the replace funtion.
fieldname = replace(fieldname,carriageReturnVariable,"<br>")
Hope this helps. |
Previous Message
|
|
|
|
|
|
|
|
|
|
|
|