TQRPreview. Allows the creation of a customizable runtime report preview.

You can also preview your reports at design time by double- or right-clicking a QuickRep component and choosing Preview.

See also the QuickRep component Preview method in QR4Help file

To use the QRPreview component, place it on a form with report already set up and call it QRPreview1, say. Then in the ‘OnPreview’ event of the QuickRep component write this code –

QRPreview1.QRPrinter := TQRPrinter(Sender);

When the Preview method of the QuickRep component is called, the QRPreview will display the report.