Skip to Content
Former Member
Jun 16, 2009 at 07:11 AM

Number of Pages in Section



we have a problem with BO Desktop Intelligence. If I create a report with sections (for example some account statement with different count of pages for each account/customer), I need insert the number of pages in each section (for example Page 1 of 9, the '9' is count of pages in one section, not in all report). Because Business Objects have no function for "Number of Pages in Section" I tried doing this with VBA script. All works O.K., but only in Desktop Intelligence. If I run this report in InfoView, the report ends in error Set Prompts Failed (DMA0007) (I have no prompts in this report). The report ends on the line PagesInSection.Item(i) = ThisDocument.Reports(1).NumberOfPages

Please, coud you suggest some possible solution for this issue?

With best regards Jiri