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
Extra 10 Lookup Options (9904)
Viewed 2089 times since Fri, Jun 29, 2012
Create New Database
Viewed 2829 times since Fri, Jun 29, 2012
Copy & Move Menu Options
Viewed 1974 times since Wed, Jun 13, 2012
G - Global Update
Viewed 1857 times since Thu, Jun 28, 2012
Special Custom Features
Viewed 1967 times since Thu, Jun 28, 2012
Location of Files / Expand Settings
Viewed 1937 times since Thu, Jun 28, 2012
User-Defined Report - Update Report Date to Constants
Viewed 1909 times since Mon, Nov 25, 2013
Extract Between Databases
Viewed 1927 times since Fri, Jun 29, 2012
L5 - Summary Totals (Single Page Report)
Viewed 1931 times since Thu, Jun 28, 2012
Q - Batch Run of a Menu
Viewed 1871 times since Fri, Jun 29, 2012