Ask a Question related to Coldfusion Database Access, Design and Development.
-
RonPCCSI #1
ODBC Error 07001
This is driving me crazy!
I have a test database with one record. The following code works fine:
SELECT user_id,
organization,
last_name,
first_name
FROM security
The following fails with ODBC error 07001
SELECT user_id,
organization,
last_name,
first_name
FROM security
WHERE user_id = #CLIENT.userid#
I have put in displays and #CLIENT.userid# contains valid data. user_id is
properly defined and returns valid data on unqualified read. When read is
qualified,it seems to not pass #CLIENT.userid# to ODBC driver or else driver is
ignoring it for some reason.
I get the following error on the above code:
Error Occurred While Processing Request
Error Diagnostic Information
ODBC Error Code = 07001 (Wrong number of parameters)
Too few parameters. Expected 1.
Hint: The cause of this error is usually that your query contains a reference
to a field which does not exist. You should verify that the fields included in
your query exist and that you have specified their names correctly.
The error occurred while processing an element with a general identifier of
(CFQUERY), occupying document position (10:1) to (10:65).
Date/Time: 03/21/06 14:18:15
Browser: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR
1.1.4322)
Remote Address: 127.0.0.1
RonPCCSI 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... -
ODBC Error?
I've just started using Cold Fusion MX in conjunction with DW MX & Cartweaver. My problem is that when I try and create a new DSN, I am give the... -
ODBC Error MX 6.1
sorry to bounce this back to the top but this issue needs to be addressed, i have spent four days on macromedia's website. this is a big problem for... -
ODBC has error but no error message displayed
Hi All.. This is a strange one that I hope someone has come across. I have an asp.net application that needs to access a flat file databse via... -
Microsoft OLE DB Provider for ODBC Drivers error '80004005' Error
Hi folks - i've got a windows 2000 server (SP3) i've run the IIS lockdown tool on it and set for dynamic websites - all the static pages within the...



Reply With Quote

