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

Parsing text from a multiline textbox into a SQL insert stmnt 1

Status
Not open for further replies.

ToeJamNEarl

Programmer
Jan 26, 2004
91
US
Hey guys,

I have a question. I have a multiline textbox on my form and what I want to do is should the user enter data inside the textbox, I want the program to be able to parse each line from the textbox and put said line into an SQL insert statement.

How could I accomplish this? Would be much appreciated. Thank you.


-Diran
 
Look into using the split function. Then loop through the resultant array and concatenate into an insert statement.

zemp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top