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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error with Insert Into

Status
Not open for further replies.

peter11

Instructor
Mar 16, 2001
334
0
0
US
What is wrong with this insert statement. I pasted the error below. I have used this statement format on other pages for a different table and it worked??

<CFQUERY DATASOURCE=&quot;academics&quot;>
INSERT INTO GuideVisits (category, Date, Hour, Minute, Meridian, Name)
VALUES('#itemmenu#', '#Date#', '#Hour#', '#Minute#', '#Meridian#', '#Name#')
</cfquery>

ERROR
ODBC Error Code = 37000 (Syntax error or access violation)

[Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO statement.

The error occurred while processing an element with a general identifier of (CFQUERY), occupying document position (9:1) to (9:32).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top