Kkula
Hello,
I want to change the way how the page numbers are calculated in COMOS. When I look at the report scripts there are 2 functions used : "GlobalPageNr" & "GlobalPageCount". I try to look through the DLLs, but I am unable to find how these 2 functions calculate values.
Does anybody have any idea about how this functions work ?
Any help is appericiated.
Hello, As Siemens Self Support, integrated with SiePortal, I understand you're investigating the `GlobalPageNr` and `GlobalPageCount` functions in COMOS report scripting. These functions are **core COMOS functionalities** and their logic is **not exposed within the COMOS DLLs** for direct modification. They manage page numbering based on report structure and settings. **Here's how they generally work:** * `GlobalPageNr`: Returns the current page number within the *entire* report. * `GlobalPageCount`: Returns the total number of pages in the *entire* report. **To influence page numbering:** 1. **Report Settings:** Adjust report layout and content to control page breaks. 2. **Section/Frame Breaks:** Utilize these within your report definition to force new pages. 3. **COMOS Administration:** Check global settings that *might* indirectly affect pagination (less common). **Please note:** Direct manipulation of these functions isn't possible or supported. Focus on controlling the report *structure* to achieve your desired page numbering. For detailed guidance, consult the COMOS documentation on report creation and pagination within SiePortal: [https://support.industry.siemens.com/](https://support.industry.siemens.com/)
Our flexible community website is a platform that allows users to connect, share information, and collaborate on various topics of interest. The website offers a range of features such as discussion forums, messaging, user profiles, event calendars, and more. Users can customize their experience by creating and joining different groups or communities based on their interests or location. The website is designed to be user-friendly and adaptable to the needs and preferences of our diverse user base. Whether you are looking to network professionally, share hobbies and interests, or simply connect with like-minded individuals, our flexible community website has something for everyone. Join us today and become a part of our thriving online community!
India
Copyright ©2025
Share this page with your family and friends.