I've previously used -findAll with groupSize=0 to get the number of records (using foundCount) in a FM 6 database (without retrieving the records).
However - there is a difference in the XML retrieved from FM6 and FM7SA.
In FM7SA - the correct foundCount is present in the DATABASE tag as e.g. RECORDS=56 but in the RESULTSET tag FOUND is set to 0 (or the number of groupsize is groupsize<foundCount) - (and hence foundCount will be 0).
In FM 6 the RESULTSET tag displays FOUND="56" even if groupsize is set to 0 (and hence foundCount will be correct).
Therefore I cannot use the same method to get the the number of records in the two different types of databases.
Is there a way to use the same methods from FX, that can return the number of records in a FM6 and an FM7SA database (except from, of course, changing dataServerType)??