Options

About "Count" method

atreatre Member Posts: 39
Hi all,

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...?

Comments

  • Options
    PoebblesPoebbles Member Posts: 35
    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.
Sign In or Register to comment.