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
2006-08-02
04:38:35
·
6 answers
·
asked by
braich_gal
3
in
Computers & Internet
➔ Programming & Design
if possible please note the error or correct it
2006-08-02
04:46:53 ·
update #1
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
2006-08-02
05:33:39 ·
update #2