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!

Update statement quote problem 1

Status
Not open for further replies.

boatdrinks

IS-IT--Management
Jun 18, 2004
51
US
I am trying to figure out how this Update statement should look. I think the quotes are in the wrong place.

Dim oleCommand = New OleDbCommand("Update requests Set technician ='" & tech.selecteditem.text & "','" comments ='" & comments.text & "' Where ticket='" & request.Querystring("id"))
 
I think it needs the following change.

Dim oleCommand = New OleDbCommand("Update requests Set technician ='" & tech.selecteditem.text & "', comments ='" & comments.text & "' Where ticket='" & request.Querystring("id")) & "'"

Hope everyone is having a great day!

Thanks - Jennifer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top