35.
.
. , , . , . , .
Borland Delphi 7.0 :
Quick Reports;
Rave Reports.
Quick Reports . , . 3- 6- Delphi Quick Reports .
7- Delphi Rave Reports, . . Quick Reports Delphi 7.0, .
.
Quick Reports
Quick Reports , Delphi (package) . *.bpl, dclqrt70.bpl. ComponentInstall Packages, Add . , : C:\Program Files\Borland\Delphi7\Bin. QReport. , Quick Reports:
- TQuickRep , . ;
TQRLabel . TLabel, ;
TQRDBText . ;
- TQRExpr . .
. :
1. , FormQuickRep, UQuickRep.pas.
2. UQuickRep.pas ( , UMain.pas):
uses
Windows,..., UMain;
, UQuickRep.pas:
uses
Windows,..., UQuickRep;
3. FormQuickRep TQuickRep, QuickRep.
4. FormQuickRep TADOConnection TADOQuery, ADOConnection QueryGoods. , ADOConnection SQL QueryGoods , :
|
|
SELECT * FROM
5. QuickRep :
- , :
DataSet:= QueryGoods
, .
- :
Bands.HasTitle:= true
- :
Bands.HasColumnHeader:= true
- :
Bands.HasDetail:= true
6. , TQRLabel Caption, , .
7. , TQRLabel Caption, , , , $.
8. TQRDBText . QueryGoods DataSet DataField
9. TQRExpr. Expression, :
QueryGoods. /30
, ( Database Field), ( Function) ( Variable).
1.
10. , QuickRep , :
FormQuickRep.QuickRep.Preview;
:
FormQuickRep.QuickRep.Print;
11. , .
12. , , .