On 8/2/00, Olson, Kelly penned:
>[Microsoft][ODBC Microsoft Access 97 Driver] Syntax error (comma) in =
>query expression 'EmployeeID=3D107,24'.
I'm not sure if that 3D is part of the value you inputted from the
form or mime output from your e-mail.
But, if your EmployeeID field is an integer, you'll get that error if
any non numeric characters are in there, including the comma. Not
that that matters, you can't query with a list like that anyway.
You'll need to loop through it.
WHERE <cfloop index="mylist" list="#form.EmployeeID#">EmployeeID = #mylist#
or </cfloop> 0=1
Which would basically write:
WHERE EmployeeID = 107
or EmployeeID = 24
or 0=1
--
Bud Schneehagen - Tropical Web Creations
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
ColdFusion Solutions / eCommerce Development
[EMAIL PROTECTED]
http://www.twcreations.com/
954.721.3452
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.