COUNTREG ​
Returns the number of registrations in each course that match the given condition.
Reporting Area(s) ​
Registrations
Required Parameters ​
- Course # (i.e. cocrse, rgcrse, pycrse)
- Condition to count (i.e.: "rgcrsefee=125.00")
Optional Parameters ​
- Logical .t. include canceled records, .f. do not include canceled records (default)
Example(s) ​
COUNTREG(rgcrse,"rgfeedesc='Member Fee'",.t.) returns number of registrations assigned member fee, including canceled registrations
Notes ​
Use in course reporting (particularly in the CEU report area)