> Sorry, David
> What's wrong with the following?
>     If Report.QRPrinter.Destination = qrdMetafile then
> Showmessage('Preview');
> "Undeclared identifier 'qrdMetafile'"
> Thanks
> Mark

Does your unit use qrprntr.pas? The type you want (TQRPrinterDestination) is
defined in this file so you need it in your uses clause.

It's also possible that the version of the Quick Reports code I'm looking at
is out of date - they might have changed the type of the Destination
property and removed the TQRPrinterDestination type. If this is the case
then you need to find out what they have replaced it with.

David.
DB Solutions Ltd.

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to