Concat text fields with line break

  • Thread starter Thread starter rborland
  • Start date Start date
R

rborland

Guest
I'd like to concatinate several text fields that are in the query for my report and present the resulting string in a single text box on the report. I'd also like to provide line feed breaks after each field's value so that the composite field would "grow" with the concatinated values.

I'm using Access 97. I've tried chr(13)'s in between values - no cigar.
 
Access wants a carriage return AND a line feed to create line breaks. Try
=[First Field] & Chr(13) & Chr(10) & [Second Field] etc.
 
Access wants a carriage return AND a line feed to create line breaks. Try
=[First Field] & Chr(13) & Chr(10) & [Second Field] etc.


it works, thank you very much
 
Random fun fact, it's kind of funny - in an ControlSource expression, you can even type:
Code:
=[Text0] & "
" & [Text2]
............... Where the thing in between the two double quotation marks was me pressing Shift+Enter, literally, while typing in the Expression box.
 

Users who are viewing this thread

Back
Top Bottom