Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Query expression to include a <CR> and <LF>

Status
Not open for further replies.

cjLiteStep

Technical User
Mar 12, 2001
18
0
0
CA
i am trying to write a query expression to put the name and address fields on an invoice report.
i am writing an expression so blank fields won't take up a line ( i just use iif and isnull ) but i can't figure out how to add a carriage return and linefeed; it doesn't seem to like vbcrlf or chr$(10) & chr$(13);
does it have to do with the text box maybe?
when i do the report, instead of new lines I get little square boxes (2)
appreciate any help

cj
 
try vbcr -- (visual basic carriage return)

that works in asp, but I'm not sure if it will work in access -- worth a shot, though. :)
 
thanks link9
i gave it a quick try but no go; i'll be working on though
cj
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top