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!

How to add a new line in SQL statement.

Status
Not open for further replies.

rbasram

Programmer
Sep 27, 2001
53
0
0
CA
strSQL = &quot;<Title> &quot; & rst!Title & &quot;</Title>&quot; & (here is where i want t new line) &quot;<Author> &quot; & rst!AuthorName & &quot;</Author>&quot;

I am trying to put a new line in the sql statement because I want to print the whole data into a text file. Is there any new line constant so that after evey field I have a new line..

the output of the above code is

<Title> this is the title<Author>this is the author

required output
<Title> this is the title
<Author>this is the author

Please help....



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top