problem at prepare command
i must prepare report in a loop and then export it to bmp,
first two loop ok, but at third, there must be 10 pages but prg says
preparing page : 4000 or 5000 an so on, after that an av message;
this is a sample code,
for i := 1 to 10 do
begin
Query1.Sql.Text := 'select * from customer where type = ' +
IntToStr(i);
FastReport1.Prepare; //every time in third loop prepare command;
FastReport1.ExportTo(bmp,'c:\sample');
end;
i use fastreport 2.52
first two loop ok, but at third, there must be 10 pages but prg says
preparing page : 4000 or 5000 an so on, after that an av message;
this is a sample code,
for i := 1 to 10 do
begin
Query1.Sql.Text := 'select * from customer where type = ' +
IntToStr(i);
FastReport1.Prepare; //every time in third loop prepare command;
FastReport1.ExportTo(bmp,'c:\sample');
end;
i use fastreport 2.52
Comments