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

Visual Basic CR/LF not compatible with MSQuery / Excel

Status
Not open for further replies.

NotVBGuru

Programmer
Joined
Jan 7, 2002
Messages
1
Location
CA
A varchar2 data field populated from a VB app, is stored with CR/LF delimters. However, MS Excel does not like the CR, and prefers a LF only.

Displaying fields using SQLPlus and other applications appear deal with LF only.

Question: How does one get VB to insert LF only, rather than CR/LF
 
Use Chr(10) instead of vbCrLf
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top