General information
Category:
Reports & Report designer
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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only