|
|
|||
Home Products Downloads Registered users Support Prices Order Primary Subscription |
|
||
TxlReport classThe TxlReport class is the only class accessible in Delphi component palette. This class encapsulates all the mechanisms and algorithms of Microsoft Excel report generation. To build a report using an existing template you have to:
Example of report building on tQuickStart.xls template with tblCustomers and tblOrders datasets:
procedure TfrmQuickStart.btnReport2Click(Sender: TObject); var Report: TxlReport; begin
Report := TxlReport.CreateEx(Self, 'tQuickStart.xls');
end;
try
Report.AddDataSet(tblCustomers);
finally
Report.AddDataSet(tblOrders, 'OrdersRange'); Report.Report(false);
Report.Free;
end;
|
Components
Developed forDelphi 4, 5, 6, 7 Excel version supportedMS Excel 97 (SR2)
[ Download it ] |