Home General

Printing two reports

edited June 2001 in General
I am using delphi 5 with report Builder 5.55 and I have an application
as follows:

If Condition1 then
ppReport1.print;
If Condition2 then
ppReport2.print;

If only one condition is satisfied the corresponding report will print
with no problem. If both are satisfied then ppReport1 will print then I
get an access violation error and after clicking ok ppReport2 will print
ok.
Trying to track the error I got (TprinterSettings.GetOrientation). I
tried to do ppReport1.ResetDevices or ppReport1.Reset but same problem
still there.
I am not sure what is the problem.
Any help will be greatly appreciated.
Thanks in advance.
Nina.

Comments

  • edited July 2001
    I connected two report components to the same dbpipeline and they both
    printed one right after another. I tried setting DeviceType to both screen
    and printer. I also tried with and without print dialogs and previews. I
    didn't see any problems.

    Download the latest printer driver from your manufacturer.

    Upgrade to 5.56 (it's free if you currently are registered for 5.55).
    Contact info@digital-metaphors.com with your full registration information.


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.