I have the following code below that I'm using to create an
if statement from a list of agentsines. the user enters
22,23,75,13,42, etc as the 'Agents' variable and I want to
translate it to
<cfset IfStatement = "bkagtid EQ '22' OR bkagtid EQ '23'
OR bkagtid EQ '75' OR bkagtid EQ '13' OR bkagtid EQ '42'">
and then use something like <cfif #ifstatement#>
when I do that I get an error that says
"cannot convert the value "bkagtid EQ '22' OR bkagtid EQ '23'
OR bkagtid EQ '75' OR bkagtid EQ '13' OR bkagtid EQ '42'" to a
boolean "
Any ideas on if this is possible?
Thanks