I have this in a text box on the page footer of a very simple 1 page report to count the rows displayed.
RowCount: {Count(Fields.AccountNo)}
Why is it always returning 0, not sure what I am missing. Is there somewhere I can look to see a working example.
1 Answer, 1 is accepted
0
Stef
Telerik team
answered on 19 May 2015, 01:26 PM
Hello Chas,
In page sections you can use the PageExec data function and the scope of an item to count how many times a field running value appears on the page.
For example, if there is a TextBox item with Name="textBox1" and Value="=Fields.DepartmentId", in the PageFooter you can add a TextBox with Value = "= PageExec('textBox1',Count(Fields.DepartmentId))". The result will be how many times the Textbox appear on the page.
If you need further help, please post the report definition's code or open a support ticket and send it in a ZIP file including test data.
Regards,
Stef
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items