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

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 2:35AM
    see answer posted to same question in newsgroup
    ;)

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.