home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1996 August / VPR9608A.BIN / del20try / install / data.z / QRMD.PAS < prev    next >
Pascal/Delphi Source File  |  1996-05-08  |  1KB  |  47 lines

  1. unit QRMD;
  2.  
  3. // QuickReport Master/detail 
  4. // - Connect a datasource to the QuickReport component
  5. // - Connect a datasource to the DetailLink component
  6. // - Make sure a master/detail relationship is set up between the two tables
  7. // - Put QRDBText components on the bands
  8.  
  9. interface
  10.  
  11. uses
  12.   Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  13.   Quickrep, StdCtrls, ExtCtrls;
  14.  
  15. type
  16.   TQRMDForm = class(TForm)
  17.     QuickReport: TQuickReport;
  18.     Title: TQRBand;
  19.     PageHeader: TQRBand;
  20.     Master: TQRBand;
  21.     PageNumber: TQRSysData;
  22.     PageFooter: TQRBand;
  23.     QRDateTime: TQRSysData;
  24.     QRSysData1: TQRSysData;
  25.     QRLabel1: TQRLabel;
  26.     QRLabel2: TQRLabel;
  27.     QRLabel3: TQRLabel;
  28.     Detail: TQRBand;
  29.     QRLabel4: TQRLabel;
  30.     DetailFooter: TQRBand;
  31.     QRLabel5: TQRLabel;
  32.     DetailLink: TQRDetailLink;
  33.   private
  34.     { Private declarations }
  35.   public
  36.     { Public declarations }
  37.   end;
  38.  
  39. var
  40.   QRMDForm: TQRMDForm;
  41.  
  42. implementation
  43.  
  44. {$R *.DFM}
  45.  
  46. end.
  47.