Information générale
Catégorie:
Gestionnaire de rapports & Rapports
The only way to get the number of records is to do a COUNT command. RECCOUNT() returns the total physical records in the file, ignoring filters and counting deleted records.
Personally, I don't use the DataEnvironment of a report, but instead prepare my data before the REPORT FORM command, and if I know beforehand (by doing a LOCATE and checking EOF()) that there is no data to print, I bring up a dialog saying so and simply don't run the report.
--Brad
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement