is Processed a char type field or numeric?

-----Original Message-----
From: Jay Patton [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 26, 2001 12:00 PM
To: CF-Talk
Subject: Data type mismatch....


can anyone help me with this? i get this error on my checkout page...
ODBC Error Code = 22005 (Error in assignment) 


[Microsoft][ODBC Microsoft Access Driver] Data type mismatch in criteria
expression. 



The error occurred while processing an element with a general identifier of
(CFQUERY), occupying document position (2:1) to (2:61).

this is my query:

<!---
<cfquery name="GetTotal" datasource="????????" dbtype="ODBC">
SELECT Sum(Total) AS OrderTotal 
FROM StoreOrders
WHERE SessionID = #CFTOKEN#
AND Processed = 0
</cfquery>
-->

Thanks,

Jay Patton
Web Pro USA
406.549.3337 ext. 203
1.888.5WEBPRO
www.webpro-usa.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to