Im getting a syntax error on an Insert statement, but I dont see anything wrong with it. It has the correct database names, and they are in the correct order. All of the fields are defined as text on the database. Does anyone see anything wrong with this?
Thanks, Donna
DataAdapter1.InsertCommand.CommandText = _
"INSERT INTO Customers(CustomerID, FirstName, " & _
"LastName, Address, City, State, Zip, " & _
"Password) " & _
"VALUES (" & strCustID & " , " & _
"" & mFirstName & " , " & _
"" & mLastName & " , " & _
"" & mAddress & " , " & _
"" & mCity & " , " & _
"" & mState & " , " & _
"" & mZip & " , " & _
"" & mPassword & ")"
Thanks, Donna
DataAdapter1.InsertCommand.CommandText = _
"INSERT INTO Customers(CustomerID, FirstName, " & _
"LastName, Address, City, State, Zip, " & _
"Password) " & _
"VALUES (" & strCustID & " , " & _
"" & mFirstName & " , " & _
"" & mLastName & " , " & _
"" & mAddress & " , " & _
"" & mCity & " , " & _
"" & mState & " , " & _
"" & mZip & " , " & _
"" & mPassword & ")"