Evaluate() worked like a charm. Tim Painter -- you are a gentleman and a
scholar.
By the way, I was wrong when I said that the "isdefined" part was working,
but I was able to get the code working like so:
<cfset tmpstr = "chkPrint1">
<cfloop condition="isdefined(#tmpstr#)">
<cfset strSQL = strSQL & "ID = " & evaluate("PrintID#pos#") & " or
">
<cfset pos = pos + 1>
<cfset tmpstr = "chkPrint" & #pos#>
</cfloop>
I've had to work around this before. This will be a great help for
dealing with complex forms.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
| Michael Wolter [EMAIL PROTECTED] |
| Administrative Programmer/Analyst Carlisle, PA 17013 |
| Dickinson College, Computer Services (717) 245-1527 |
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists