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

What is the symbol for a character return in an Access query?

Status
Not open for further replies.

ajaeger

Technical User
Feb 6, 2003
201
US
My syntax is:

SELECT '---NOTE1---' & InterimNotes & '---NOTE2---' & ACNotes as COMBINED_NOTES
FROM accMain


I want a character return between '---NOTE1---' and InterimNotes

Anna Jaeger
iMIS Database Support
 
I assume by 'Character Return' you mean a new line:

SELECT '---NOTE1---' & Chr(13) & Chr(10) & InterimNotes & '---NOTE2---' & ACNotes as COMBINED_NOTES
FROM accMain

 
Chr(10) is the character represented by an ASCII value of 10 which is a line feed/ new line... Chr(13) is carriage return... the combination of these two works like a manual typewriter... carriage returns to its starting position all the way to the left then moves down a line
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top