Wyn Enterprise User Guide

Wyn Enterprise: Common Values

Common Values are run time values available for every property in each report. You can directly drag and drop these common values from the Report Explorer onto the design surface or add and modify the values from the Expression Editor. Following is a list of the values that you can see under the Common Values node in the Report Explorer and the Expression Editor.

Value Description Expression
Current Date and Time Displays the current date and time. It can be used in the Page Header and Page Footer. {!ExecutionTime}
Page Number Displays the current page number. It can be used in the Page Header and Page Footer. {&PageNumber}
Total Pages Displays the total number of pages. It can be used in the Page Header and Page Footer. {&TotalPages}
Page N of M Displays the current page number (N) and the total number of pages (M) in the format 'N of M'. It can be used in the Page Header and Page Footer. Page {&PageNumber} of {&TotalPages}
Page Number (Section) Displays the current page number of the section to which the function belongs. The section can be a report or a data region. {&PageNumberInSection}
Total Pages (Section) Displays the total number of pages of the section to which the function belongs. The section can be a report or a data region. {&TotalPagesInSection}
Page N of M (Section) Displays the current page number (N) and the total number of pages (M) in the format 'N of M,' of the section to which the function belongs. The section can be a report or a data region. Page {&PageNumberInSection} of {&TotalPagesInSection}
Report Name Displays the name of the report. {&ReportName}
User ID Displays the User ID of the user previewing the report. {User!UserID}
User Language Displays the Language of the user previewing the report as per system settings. {User!Language}
User Context Use only with function, e.g. UserContext.GetValue("name"), UserContext.NumberToWords(123). {UserContext}

Note: Page N of M (Section), Page Number (Section) or Total Pages (Section) is applied to page numbering when you set grouping in a report.