Ask a Question related to Coldfusion Database Access, Design and Development.
-
crystalfish0318 #1
Syntax error (missing operator) in query expression
Hi,
I have received the following error:
ODBC Error Code = 37000 (Syntax error or access violation)
[Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in
query expression 'topic='.
The error occurred while processing an element with a general identifier of
(CFQUERY), occupying document position (58:1) to (58:66).
i believe the error is here:
<cfquery name="get_cust_topCode" datasource="dstbc" dbtype="ODBC">
SELECT *
FROM a2tblTopic
WHERE topicID=#form.topic#
i have no idea what's wrong with my topicID?
i have tried some serveral changes, such as (), '', "", and single perserve
quote,
but still doens't work.
i have tried to just use topicID=#topic#
or topicID=(#form.topic#).........
any ideas?
crystalfish0318 Guest
-
[microsoft][odbc microsoft access driver] syntax error (missing operator) in query expression error
I have a query I want to run using DBQwiksite siftware, which produces the syntax error (missing operator) in query expression error when... -
Access: (missing operator) in query expression
Hi! I operate a database where visitors do inputs directly from the web thru a form. One field has the datatype (property?) Memo and I have not... -
Syntax error in Query Expression,
Hi everyone I have a page on my site in which i wish to display links to brochures, and i have stored an index of these links in my database. ... -
Syntax error (missing operator) in query expression'idProperty='
The following is the code, can someone please help me with the syntax please in the first line please Conn.Execute "UPDATE tblRentalProperty SET... -
syntax error (missing operator) query expression
valuA = (request.form("toadd")) If valuA = "" then SQL = "UPDATE CourseReg SET attended='Active' WHERE ID IN("&request.form("toadd")&")" Set RS =... -
Dan Bracuk #2
Re: Syntax error (missing operator) in query expression
Your error message suggests that form.topic is an empty string.
Dan Bracuk Guest
-
paross1 #3
Re: Syntax error (missing operator) in query expression
The error message seems indicate that the problem is with the expression
'topic=' yet your query lists the field as topicID, so did you cut/paste the
actual query that is causing the error into your message? I'd go back to your
page and make sure that you actually have the field name topicID in your query.
Phil
paross1 Guest



Reply With Quote

