Forum Moderators: open
Microsoft VBScript compilation error '800a03ea'
Syntax error
/gm_location/default1.asp, line 51
insert_query="INSERT INTO AccessData (cintasRepLocCode, FirstName, LastName, Accesses, LastAccess) VALUES ("& Request.Form("cintasRepLocCode") & "," & Request.Form("FirstName") & "," & Request.Form("LastName") & ", '1',"& LastAccess=# & Date() & "# &")"
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------^
If you're using Access, I *think* that works. I have not tested.
If that doesn't work, take out the single quotes from around the #'s.
This causes the following error:
Microsoft OLE DB Provider for ODBC Drivers error '80040e10'
[Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 2.
/gm_location/default1.asp, line 53