Hi Bernardo,
I just want to point out that I usually create a separate definition for counting records since it's not always as easy as replacing the field clause, especially when the SELECT statement contains aggregation itself, or uses the HAVING clause. In most cases, where the user worries about the number of records, replacing the field list works just fine, though.
--
Christof
--
Christof