several print out to screen device error
Hi there,
We have the need to print several documents at the time. Using printer
device does it correctly, but when we use dtScreen for demo purposes it
always prints the first document even when the data in the underlying
datasets is changed .
We use custom prewiev form (mdi) and the same logic as when we print to the
printer device except of a call to showmessage after Report.Print call to
hold the document in the view.
How should I refresh the preview data?
Regards,
Nenad.
We have the need to print several documents at the time. Using printer
device does it correctly, but when we use dtScreen for demo purposes it
always prints the first document even when the data in the underlying
datasets is changed .
We use custom prewiev form (mdi) and the same logic as when we print to the
printer device except of a call to showmessage after Report.Print call to
hold the document in the view.
How should I refresh the preview data?
Regards,
Nenad.
This discussion has been closed.
Comments
report to regenerate for the new data and not reprint the pages from the
page cache created from the first report.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
I have checked if we do that you have mentioned.
We do:
loop start
generate new data
...
Report.Reset;
...
Report.Print;
...
ShowMessage();
...
loop end;
The data is new for each time. The code works fine with dtPrinter
devicetype. Therefore I do not think its a Report problem but PrewievForm
problem.
Any suggestions are welcome !
Regards,
Nenad Blagojevic
AK Techotel DK
with our installed MDI example and send it to us at
support@digital-metaphors.com
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
loop. Else it will print (screen) all documents whithout user can actually
see them.
I will try to reproduce the problem as you suggest, as soon as possible.
Thank you wery much for the reply.
Regards,
Nenad Blagojevic
AK Development DK