Hi,

Got a wee problem, I've a query name generated dynamically: name="selectDistinctMonths#loop.year#"

Later on there's a CFIF statement that needs the recordcount of this query. In CFMX I can do this:

<cfset request.queryName="selectDistinctMonths#loop.year#">
<cfif evaluate(request.queryName).recordCount GT 0>

...but CF5 don't get it. Anyone got an answer?

Thanks
d

--
These lists are syncronised with the CFDeveloper forum at 
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by 
activepdf.com*
     *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com*
          *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]



Reply via email to