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

AV when reprinting a report

edited January 2002 in General
I'm using Delphi 5 and RB 6.03, along with Extra devices. I have a
procedure that generates a pdf, xls and a doc from a TppReport by changing
the rpt.DeviceType etc and then calling rpt.Print. It works the first time,
but the second time I get and access violation in rbRCL55.bpl. It also
seems to work with a local Access database - when the Access db is on the
network I get the problem.

Comments

  • edited January 2002
    Take Extradevices out of the picture. Try testing by printing a simple
    report to the printer twice. If it works, then perhaps there is a nil
    device or datapipeline? We'll have to have more information about what is
    happening from the time you end the first print and the time the second
    print is started.


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.