daveigh
Programmer
- Oct 9, 2003
- 105
ok guys, ive visited the ff. faq:
and it seems that it wasnt able to solve my problem.
i get that error with this sql string:
sqlnewuser = "INSERT INTO tblinfo (datereg, timereg, firstname, lastname, birthday, birthmonth, birthyear, gender, sexuality, address, country, zip, email, password, newsletter, enotification, dmg)"
sqlnewuser = sqlnewuser & " VALUES (#"& date &"#,#"& time &"#,'"& firstname &"','"& lastname &"',"& birthday &",'"& birthmonth &"',"& birthyear &",'"& gender &"','"& sexuality &"','"& address &"','"& country &"','"& zip &"','"& email &"','"& password &"',"& newsletter &","& enotification &","& dmg &")"
i tried checking the sql reserved words and i cant find any of them that ive used.
i tried to debug by using response.write and pasting it in the query portion of ms access, and it works.
what could be the problem? any comments?
______________CRYOcoustic_____________
and it seems that it wasnt able to solve my problem.
i get that error with this sql string:
sqlnewuser = "INSERT INTO tblinfo (datereg, timereg, firstname, lastname, birthday, birthmonth, birthyear, gender, sexuality, address, country, zip, email, password, newsletter, enotification, dmg)"
sqlnewuser = sqlnewuser & " VALUES (#"& date &"#,#"& time &"#,'"& firstname &"','"& lastname &"',"& birthday &",'"& birthmonth &"',"& birthyear &",'"& gender &"','"& sexuality &"','"& address &"','"& country &"','"& zip &"','"& email &"','"& password &"',"& newsletter &","& enotification &","& dmg &")"
i tried checking the sql reserved words and i cant find any of them that ive used.
i tried to debug by using response.write and pasting it in the query portion of ms access, and it works.
what could be the problem? any comments?
______________CRYOcoustic_____________