Access page number from C++ Builder / Delphi

I would like to acces the "page" and "page#" from C++ Builder in order to:
Before start a report, tell from what page I want to start to number the report
Once the report is finished, to know what is the last page number in order to use it for another report.

One thing like:

Report1->...->Page=MyPageNumber;
Report1->PrepareReport();
MyPageNumber=Report1->...->Page;

Report2->...->Page=MyPageNumber;
Report2->PrepareReport();
MyPageNumber= Report2->...->Page;

Thanks in advance. Ramon Arguelles

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.