AV when reprinting a report
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.
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.
This discussion has been closed.
Comments
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
http://www.digital-metaphors.com
info@digital-metaphors.com