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!
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) ?
LikeLike