I want to count the no. of records, and I try "COUNT" in PreDataItem section and OnAfterGetRecord section, both do not work , do I forget something else...?
Create a new Local Variable in OnPreDataItem with the same Table of your DataItem. Then Get all Filters from the DataItem and set them to your new Local Variable. Then use Count on your new Variable.
Comments