Thanks very much David
When I put qrprntr in the Uses clause, it fixed it.
I have somehow never got to grips with the Quick Report documentation.  I
had not been able to find any useful documentation on QRPrinter, nor the
unit that controls it.
I really appreciate your assistance.
Mark
----- Original Message -----
From: "David Brennan" <[EMAIL PROTECTED]>
To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
Sent: Thursday, December 28, 2000 6:17 PM
Subject: Re: [DUG]: QR - Is it currently printing?


> > 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"

---------------------------------------------------------------------------
    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