DelphiFAQ Home Search:
General :: Programming :: Delphi :: Database
Database development with Delphi. Includes issues with BDE, ADO and InterBase.


This list is sorted by recent document popularity (not total page views).
New documents will first appear at the bottom.

Only the 40 most recently viewed articles are shown.
You can see the full list here.

Featured Article

Print a selection on the non-default printer with QuickReport

Several people have experienced problems with printing a QuickReport to a non-default printer.
Another issue is printing of selected pages.
QuSoft saw this and added a function PrinterSetup() which works properly with their model (other than my own TPrintDialog instances).
The following code shows how to print the current page or selected pages.

// ...
   theReport : TQuickRep;
   ReportPreview: TQRPreview;
 // ...
   // print one page..
   with theReport do
     PrinterSettings.FirstPage := theReport.PageNumber;
     PrinterSettings.LastPage := theReport.PageNumber;
You don't like the formatting? Check out SourceCoder then!
Generated 0:01:21 on Oct 30, 2020