How to force new line?

asiamisia

New member
Local time
Today, 15:35
Joined
Aug 6, 2004
Messages
9
When I am adding a new line to field in database record via WebInterface(ASP) I update my database with "oldvalues"+"\n"+"new values" entry. In web interfase it looks fine and gets data from table with proper formatting. But when I open my form in access textbox has strange look with funny signs instead of new line like "oldvalues[funny mark]new values"
How to force access form (maybe in code?) to show new line ?
 
adiamisia,

Instead of: "oldvalues"+"\n"+"new values"

Try: "oldvalues" & vbCrLf & "new values"

Wayne
 
asimisia,

Oops, sorry about typing your name wrong.

vbCrLf is a VBA constant. It equals: Chr(13) & Chr(10)

Wayne
 
I have tried this :( Now I have both - in access form and in asp application lines like this "oldline&vbCrLf& newline" ... But thanks for help!
Maybe it has something to do with coding (Unicode ? )
 

Users who are viewing this thread

Back
Top Bottom