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

Problem retrieving records from Access 2000 using Vb 6

Status
Not open for further replies.

TarunAgarwal

Programmer
Nov 18, 2001
15
IN
Hi,

While retrieving multiple rows from Access 2000 using Vb6,in a single text box, a control character is being automatically inserted after each value. How to avoid it?
Also, I want to insert a new line after each value. Using Chr(13), which is the conversion of Ascii value of newline character, does not work. It again results in a control character being inserted. Please help!!

Regards,
Tarun
 
Not sure about the chars between the values, but I normally
use

vbCrLf or chr(13) & chr(10) for new lines.. <insert witticism here>
codestorm
 
Set the textbox.MultiLine = True Tim

Remember the KISS principle:
Keep It Simple, Stupid! :cool:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top