preCharge Forums - View Single Post - Update statement
View Single Post
Old 07-08-2006   #1 (permalink)
peyton
Junior Member
 
Join Date: Jul 2006
Age: 28
Posts: 5
Default Update statement

Hi,

I have this variable


when I update the table it gives an error

here is my update code
Code:

str= "UPDATE tblnames SET Name = '" & name & "' WHERE Id ='" & getid & "'"

can someone tell me what’s wrong with it because the name variable has a comma in it

Thanks
Peyton
peyton is offline   Reply With Quote

 
Gabriel garcia marquez | Home Loan | Credit Counseling | Bankruptcy | Credit Counseling