Link to home
Start Free TrialLog in
Avatar of tinti
tinti

asked on

Quick Report

I have a QuickReport
When i close the QuickReport from the preview panel on the close button a message of error appear
Cannot change Visible in OnShow or OnHide
Why
because i want to close the form who contain the report in it
Thanks
p.s. i use QuickRep1AfterPreview Form.Close;
is corect?
Avatar of Tomas Helgi Johannsson
Tomas Helgi Johannsson
Flag of Iceland image

If your Form's name is "Form" then it should be ok.

Regards,
  Tomas Helgi
Avatar of tinti
tinti

ASKER

I finally find a way to manage that, but another problem appear
After i print the form give me a error missing qrprntr.pas
I use Win XP , where i can find the file or avoid the error
Thanks
Make sure that the "Build with runtime packages" under Project Options->Packages is unchecked
and the unit QuickRep is included in the uses clause when you compile the program.

Regards,
  Tomas Helgi
Avatar of tinti

ASKER

All Tomas Helgi said was OK
But the same error
Please help me
Where i can find the qrprntr.pas file
Thanks
ASKER CERTIFIED SOLUTION
Avatar of Tomas Helgi Johannsson
Tomas Helgi Johannsson
Flag of Iceland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tinti

ASKER

Sorry to bother again, but is impossible to find the file
I look over the site and google.com
Not anywhere
Please tell me where i can find the nasty file qrprntr.pas
Thanks
p.s. or write me another method to print a quickreport without errors