Tip #28 – Count records in List Pages

This Blog Article was brought forward from my old blog

In the classic client it was a requirement from a lot of end-users to easily count filtered records in a listform. This can be solved by adding a control with SourceExpr COUNT on the form.

Off course we should watch for performance but with Master Data this should not be an issue.

But now we have pages, so how can we implement that? It’s not wysiwyg. Where do I put the control.

This is what I did:

In the List Page search for the end of the group repeater and add a new group group. In this group add a field with SourceExpr Count and add some captions.

This is the result:

This is just what I experimented and implemented, it is not supported by Microsoft!

1 thought on “Tip #28 – Count records in List Pages

  1. Pedro Quintas

    Thank you Mark,
    I am having a problem with this one when the filter count results on 0 (Zero) lines.
    In this case I get the previous value before the last filter…
    I guess it depends on the OnAfterGetCurrRecord() trigger, so when it’s empty it does not triggers the new count…
    Any idea how to get the value also when it is 0 (Zero) ?



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.