Home » Categories » Solutions by Business Process » Profiler

User-Defined Reports - *RECCOUNT Test Condition on $Record Control Block

Datafile Software

User-Defined Reports - *RECCOUNT Test Condition on $Record Control Block

One of the report types available on the ‘Databases on Desktop’ tools is a Top-10 report allowing you to list the Top 10 (or 50 / 100 etc.) customers based on turnover, the Top 10 selling stock lines and so on but this type of report has been difficult to achieve in ProFiler when you also want overall totals.

This new feature allows you to use the variable ‘*RECCOUNT’ on a test condition against a $RECORD control block to test the number of records reported.


On the above example the report lists on the Top 5 customers by yearly turnover (using the test condition of *RECCOUNT Less/Equal 5) but goes on to show the total turnover for all customers, a total turnover of the top five customers and what percentage of the total turnover that represents.

Custom Fields
  • Release ID: 6.3
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
Z – System Status
Viewed 961 times since Fri, Jun 29, 2012
T – Table Updating
Viewed 1007 times since Fri, Jun 29, 2012
L - Listings
Viewed 1997 times since Thu, Jun 28, 2012
General Lookup File - EDI Order Processing
Viewed 2033 times since Thu, Jul 5, 2012
ProFiler Definition
Viewed 1797 times since Thu, Jun 28, 2012
Disk Utilities
Viewed 1959 times since Thu, Jun 28, 2012
F - Forms Maintenance
Viewed 1845 times since Thu, Jun 28, 2012
Location of Files / Expand Settings
Viewed 1909 times since Thu, Jun 28, 2012
Profiler - Application Landing Pages
Viewed 1207 times since Thu, Jun 18, 2020
L1 – Label Printing
Viewed 1297 times since Thu, Jun 28, 2012