>The PreserveSingleQuotes function stops ColdFusion from automatically >escaping the apostrophes for you. Try this: > ><cfquery name="MovementClasses" datasource="#dsn#"> >SELECT MIN(CalendarDate) as MinDate, MAX(CalendarDate) as >MaxDate, EventName, GroupID >FROM Calendar >WHERE GroupID IN (#PreserveSingleQuotes(MovementList)#) >GROUP BY EventName, GroupID ></cfquery>
Yep that worked. You get the cigar :-) Thanks! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218667 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

