Skip to main content
This topic has been closed for replies.

1 reply

Participating Frequently
January 3, 2013

IsQuery will return true even if there are zero records in the record count.

WolfShade
Legend
January 3, 2013

Yes, all IsQuery does is check to see if the object is a query, or not (boolean).  Even if there are no records returned, a query is still a query.

If you want to check to see if a query has more than 0 records in it, use <cfif queryName.recordCount gt 0></cfif>

^_^