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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create Memo Type Field in Query For Use in Report 1

Status
Not open for further replies.

TimTDP

Technical User
Feb 15, 2004
373
ZA
In Access 2000, I have a function that concatenates text.
I use this function in a query, for use in a report.
I want the result to look like a memo field, so when concatinating the text I insert line feeds. e.g

Output = "Line 1" & vbLf & "Line 2" & vbLf & "Line 3"

I want the result to look like this:
Line 1
Line 2
Line 3

What I get is:
Line 1 {Square} Line 2 {square} Line 3

how do I get this to appear like a memo field?
 
Have you tried this ?
Output = "Line 1" & vbCrLf & "Line 2" & vbCrLf & "Line 3"

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Great, thank you.

To help me understand, why does the vbLf not work? I also tried vbCr and this did not help.

Why does vbCrLf work?
 
vbLf is the standard EndOfLine in the unix world.
vbCr is the standard EndOfLine in the mac world.
vbCrLf is the standard EndOfLine in the dos/windows world.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top