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

Access Violation Printing

edited September 2002 in General
I have a customer who is printing a report and the preview form comes
up fine. They go to print to the printer and get an access
violation. If I sent the report to pd. and print it works fine. They
have tried updating there printer drivers and this did not help.
Other reports in the system work fine, it is just this one that does
this. Any ideas?

Comments

  • edited September 2002
    What are you event handlers doing in this report? Can you test with our demo
    reports projects? Can you isolate the problem from one report? If your
    report is regenerating for the printer, then make sure you are resetting
    your Delphi variables you are using in the report in the Report.BeforePrint
    event. You could also set Report.CachePages to true so the report doesn't
    regenerate if it doesn't need to.


    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.