I cannot pre-define a string for itemlist since thats exactly what Im searching for ...its a dynamic query. let me show you the undoctored version.
<cfquery name="getspecials" datasource="warehouse" dbtype="ODBC">
SELECT * FROM specials
WHERE '#itemloop.ID#' IN...
I have a SQL Query in Cold Fusion:
<cfquery name="getspecials" datasource="warehouse" dbtype="ODBC">
SELECT * FROM specials
WHERE 88 IN (Itemlist) AND TYPE = "PM"
</cfquery>
Itemlist is a field of Specials that contains a comma seperated list ie...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.