help for pageStart event

Posted by: sherwinky-dd on 4 August 2017, 2:44 pm EST

  • Posted 4 August 2017, 2:44 pm EST

    I am using active report2.0 for an unbound report,and I use
    pageStart envent to initialize some variables,but now pageStart envent dose not fire in right time,it always fires after first data has been read(in fetchdata function)
    How can I let it working in right time
    thanks a lot
  • Replied 4 August 2017, 2:44 pm EST

    1) Have you upgraded AR2 to the latest patch?

    2) Did you add any summary functions?

    3) Does it fire the PageStart after FetchData for just page 1 or is it page 1 and all sequential pages?
  • Replied 4 August 2017, 2:44 pm EST

    thanks for you reply.
    my activereport version is sp4(
    And I doesn't use any sum function of ActiveReport in my project.
    I Fetch ervery field value from each page(in fetch data method),and use pageStart to initialize each variable,but it doesn't work correct,becouse pageStart method is always invoked later then fetchdata method.
    every page of report doesn't work correctly,I just want get page sum of report in my unbound report.
    thank you!
  • Replied 4 August 2017, 2:44 pm EST

    If all you need is a summary for a page, I would suggest you take advantage of AR's built in summary functions. You can find details in the help system.

  • Replied 4 August 2017, 2:44 pm EST

    thank for all people here who help me, I already take AR's built in summary function to solve my problem,It works perfectly. thank you all again.
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels