Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Chr(13) + Chr(10)
Tue, Jun 6 2006 5:23 AMPermanent Link

SteveW
How do I include a carriage return and line feed in the SQL I send to the ODBC driver. If
the string includes Chr(13) or Chr(10) it seems to generate an error.
Tue, Jun 6 2006 12:14 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Steve,

<< How do I include a carriage return and line feed in the SQL I send to the
ODBC driver. If the string includes Chr(13) or Chr(10) it seems to generate
an error. >>

Use:

#13+#10

as in

SELECT 'My Test'+#13+#10
FROM MyTable

--
Tim Young
Elevate Software
www.elevatesoft.com

Image