Joshua Tipton wrote:
> <a href="delete.cfm?id=#id#">Delete</a>
>
> <cfquery name="" datasource="gunlist" dbtype="ODBC">
> UPDATE guns
> set sold = '1'
> WHERE (id = '#id#')</cfquery>
>
>
> Microsoft][ODBC Microsoft Access Driver] Data type mismatch in criteria
> expression.
I am assuming that the sold field isn't a string. Remove the single quote
around 1 and also the #id# variable as I think that�s probably not a string
variable either.
--
Microsoft products are successful -- they make a lot of money --
but that doesn't make them innovative, or even particularly good.
Robert X. Cringely
email: [EMAIL PROTECTED]
WWW: http://www.director-online.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