I'm using CF8.
I have the following partial query -
I'm using this query in a cfdocument pdf type report. I need to loop thru this query and look for where the loc_code is equal to either LO, AU or SL, because those will be grouped together under a particular subheading; whereas the rest will go under another subheading. I'm confused as to what function to use ListFindNoCase, ListContains, ListFind...etc. They look so much alike.
Thanks,
Sherry
I have the following partial query -
Code:
<cfquery dbtype="query" name="getVendor">
select distinct
vendor,
loc_code
from
variables.savedlist
</cfquery>
I'm using this query in a cfdocument pdf type report. I need to loop thru this query and look for where the loc_code is equal to either LO, AU or SL, because those will be grouped together under a particular subheading; whereas the rest will go under another subheading. I'm confused as to what function to use ListFindNoCase, ListContains, ListFind...etc. They look so much alike.
Thanks,
Sherry