New feature! Upgrade and increase expert visibility of your issues with Priority Questions.
Sub main Dim Application Dim Report Dim objPageGen Dim varGroupPath ' Export nach CSV mit VB-Script: Set Application = CreateObject("CrystalRuntime.Application.9") Set Report = Application.OpenReport("C:\CH\Test\Neu\Test1.rpt",1) varGroupPath = Array(0,1) ' this should retrieve the numbers of pages of this specific group, but 'which it does not Set objPageGen = Report.PageEngine.CreatePageGenerator(varGroupPath) MsgBox objPageGen.Pages.Count End sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.