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?
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?