Kelly Harris
Top achievements
Rank 1
Kelly Harris
asked on 20 Jun 2012, 05:53 PM
I have been looking for a list of what the system scopes are. As an example, I want to be able to know what the first line of a new page's detail.
Thanks
Thanks
3 Answers, 1 is accepted
0
Hello,
The Telerik Reporting expression engine does not provide obviously defined system scopes. Instead, it determines the scope to evaluate each expression according to the item defining it.
There are two expression functions changing the default scope: Exec and PageExec. More info about their usage may be found in the help article Functions (Section "Scope related functions").
For example using
= PageExec("detailSection", First(Fields.ProductName))
, having a DetailSection called detailSection will return the first ProductName rendered on the current page.
More info on the subject you may find in the help article Expression scope.
Regards,
Milen
the Telerik team
The Telerik Reporting expression engine does not provide obviously defined system scopes. Instead, it determines the scope to evaluate each expression according to the item defining it.
There are two expression functions changing the default scope: Exec and PageExec. More info about their usage may be found in the help article Functions (Section "Scope related functions").
For example using
= PageExec("detailSection", First(Fields.ProductName))
, having a DetailSection called detailSection will return the first ProductName rendered on the current page.
More info on the subject you may find in the help article Expression scope.
Regards,
Milen
the Telerik team
FREE WEBINAR ON THE NEW REPORT DESIGNER! Join us on Friday, June 29 at 10:00 AM PST for a comprehensive demo of the official version of the standalone Report Designer and find out how easy it is to empower your users with creating, editing and sharing ad-hoc reports. You may even win a free Telerik Ultimate Collection license! Register today >>
0
Kelly Harris
Top achievements
Rank 1
answered on 25 Jun 2012, 04:48 PM
Thanks Milen,
What I am trying to do is change the style of the First Row in a Detail Section when it goes to a new page.
I have items that are grouped and want to display the grouped value, not only when it changes but on the top of any subsequent pages (the grouped value has not changed).
The Group Header will not work since the group header is on a different line (looks funny to customer).
What I am trying to do is change the style of the First Row in a Detail Section when it goes to a new page.
I have items that are grouped and want to display the grouped value, not only when it changes but on the top of any subsequent pages (the grouped value has not changed).
The Group Header will not work since the group header is on a different line (looks funny to customer).
0
Hi Kelly,
In other words you need the data scope for the group, but want to display the value not in a group section? You can use the Exec(scope, expression) function which executes the specified expression in the given data scope, but have in mind the Expression scope help article. Otherwise finding the first detail section on the current page is already covered in the reply of my colleague.
Kind regards,
Steve
the Telerik team
In other words you need the data scope for the group, but want to display the value not in a group section? You can use the Exec(scope, expression) function which executes the specified expression in the given data scope, but have in mind the Expression scope help article. Otherwise finding the first detail section on the current page is already covered in the reply of my colleague.
Kind regards,
Steve
the Telerik team
FREE WEBINAR ON THE NEW REPORT DESIGNER! Join us on Friday, June 29 at 10:00 AM PST for a comprehensive demo of the official version of the standalone Report Designer and find out how easy it is to empower your users with creating, editing and sharing ad-hoc reports. You may even win a free Telerik Ultimate Collection license! Register today >>