Delphi - Problemas con reporte

 
Vista:

Problemas con reporte

Publicado por Arisley (2 intervenciones) el 25/02/2005 16:25:50
Hola a todos tengo el siguiente procedimiento para realizar un reporte

procedure TForm2.Report1Click(Sender: TObject);
var
SomeFields: TStringList;
nIdx: integer;
MyTable: TTable;
aReport : TQuickRep;
begin
MyTable := TTable.Create(self);
SomeFields := TStringList.Create;
with MyTable do
begin
DatabaseName := 'DBEjemplo';
TableName := 'Custom';
ReadOnly := True;
Active := True;

for nIdx := 0 to FieldCount - 1 do
SomeFields.Add(Fields[nIdx].FieldName);
end;

aReport := nil;

QRCreateList(aReport, Self, MyTable, 'Listado de ejemplo', SomeFields);
areport.page.orientation := poLandscape;
Quickrep1.Preview;
aReport.Free;
MyTable.Free;
SomeFields.Free;
end;

enla linea donde se ejecuta QRCreateList(aReport, Self, MyTable, 'Listado de ejemplo', SomeFields);

me da el siguiente error:
Undeclared identifier QRCreateList como puedo resolver este problema.

Gracias de ante mano
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder