Home End User
New Blog Posts: Merging Reports - Part 1 and Part 2

About Report.PageCount (con't)

edited January 2003 in End User
Hi,

I have placed a check in the BeforePrint event to verify that the
PassSetting is psTwoPass or not:
...
IF Report.SecondPass THEN
ShowMessage('SecondPass');
...
I find that the report has no second pass. But I sure that I have set the
report to have two pass by set the item Report -> Pass Setting -> Two pass.
Also, even I put this code in the Report.BeforePrint event:
...
Report.PassSetting := psTwoPass;
...
The report seems also just have one pass.

Is there any problem in my report? I have attached my report format here, I
don't know if it can help to trace the problem.

Thank you for your attention.
Raymond Ng.

Comments

  • edited January 2003
    Hi Raymond,

    if you are using templates then you have to reassign all events after loading it.

    regards,
    Chris Ueberall;
This discussion has been closed.