Home » questions » help me identify the mistake please!!!urgent!!?
help me identify the mistake please!!!urgent!!?
query = "INSERT INTO MembersInfo ("Name,User Name,Password,Confirm Password, Password hint, Address, City, Postal Code, State, Country, [Home No:],[Handphone No:], SMS Alerts, E-mail Address") VALUES (" & "'" & txtName.Text & "'" & "," & "'" & txtUserName.text & "'" & "," & "'" & txtPassword.text & "'" & "," & "'" & txtConfirmPassword.text & "'" & "," & "'" & txtPasswordHint.text & "'" & "," & "'" & txtAddress.text & "'" & "," & "'" & txtCity.text & "'" & "," & "'" & txtPostalCode.text & "'" & "," & "'" & txtState.text & "'" & "," & "'" & txtCountry.text & "'" & "," & "'" & txtHome.text & "'" & "," & "'" & txtHandphone.text & "'" & "," & "'" & txtEmail.text & "'" & ")"
error message: end of statement expected...where?HELP PLEASE
if possible please note the error or correct it
aarge and mainstrike: i tried what you guys said but all the txtName.text etc. are then underlined with the error name 'txt...' not declared

Answers
Javy
On 2006-08-02 08:53:23
gpashtun
On 2006-08-02 08:58:57
Sean I.T ©
On 2006-08-02 08:43:29
austin_penguin
On 2006-08-02 08:44:10
mainstrike
On 2006-08-02 09:05:11
John J
On 2006-08-02 09:09:43
aargre
On 2006-08-02 08:55:54