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

Specifying a new line in the formula editor

Status
Not open for further replies.

Delboy14

Programmer
Jun 21, 2001
213
0
0
GB
I am printing out several lines of text depending on values in a database. e.g.

if x=1 then text:="The current value of x is 1"
if y=1 then text:=text + "The current value of y is 1"

How do I specify a new line in the formula editor. Is there a new line character (like /n in Visual C)?
 
Try:
"hello" + chr(13) + "world"

Hugo.
 
Try using the Ascii 13 for a new line

eg. select product + CHAR(13) + product_grade
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top