Skip to main content
This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

Participating Frequently
Jan 3, 2013 9:14 PM UTC

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

Translate
WolfShade
Legend
Jan 3, 2013 9:17 PM UTC

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>

^_^

Translate