Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

INSERT statement not working

Status
Not open for further replies.

thysonj

Programmer
Jul 6, 2001
240
US
Code:
INSERT INTO editlog (user, ipnum, tablename, recordnum, referlink, logtime, logdate, loghost) VALUES ('pmhs', '10.0.0.102', 'CaseStudy', '1', '/hal/ute_form.asp', '3:29:22 PM', '2/6/2004', '10.0.0.102')

I get a syntax error in the insert into statement error.

Any ideas?
 
The statement works perfectly fine when I execute it in a query. When I execute through my web page(ASP) it errors out.
 
What's the error?

Have you turned on Friendly HTTP error messages in Internet Explorer?
Tools > Internet Options > Advanced > Uncheck "Show friendly HTTP error messages.

Also, this seems like it might belong more to the ASP forum than Access forms?

AB
 
stupid 'user' is a rserved word! needed [user]...real question is why it works on a different machine the 'wrong' way??!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top