Escolar Documentos
Profissional Documentos
Cultura Documentos
Type
public
Class procedure PrintDBGrid(ADBGRid :TExDBGrid ;
Nome_Relatorio:string); // CTRL+C para implementar
end;
Na implementation:
unit unFAuditoria;
interface
uses unQRRelatorioPadrao;
type
private
{ Private declarations }
public
{ Public declarations }
end;
var
Relatorio: TqrRelatorioPadrao;
unit unQRRelatorioPadrao;
interface
type
TqrRelatorioPadrao = class(TQuickRep)
QRBand1: TQRBand; // rbPageHeader
QRBand2: TQRBand; // rbColumnHeader
QRBand3: TQRBand; // rbDetail
QRLabel1: TQRLabel; // "DATA"
QRLabel2: TQRLabel; // Título do Relatório
QRLabel3: TQRLabel; // "PÁGINA Nº"
QRSysData1: TQRSysData; // qrsDate
QRSysData2: TQRSysData; // qrsPageNumber
public
Class procedure PrintDBGrid(ADBGRid :TExDBGrid ;
Nome_Relatorio:string);
end;
var
qrRelatorioPadrao: TqrRelatorioPadrao;
implementation
{$R *.DFM}