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!

String builder

Status
Not open for further replies.

CookieNZ

MIS
Apr 22, 2002
48
NZ
I want to use a string builder rather than creating the massive string as below.

sqlscript = "INSERT INTO Supportcall(ID,Contact,Description,Status,operator,customer,[date],rework,source,module)" & " VALUES('" & txtcallnumber.Text & "','" & txtcallcontact.Text & "','" & txtcalldescription.Text & "','" & cmbstatus.Text & "','" & txtoperator.Text & "','" & cmbcustomer.Text & "','" & txtdate.Text & "','" & txtrework.Text & "','" & cmbsource.Text & "','" & cmbmodule.Text & "')"

What is the syntax?
 
faq855-1882

:)
paul
penny1.gif
penny1.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top