Can only get first page to print
Hi all,
I have just began to use Fast Report 2.5 and I am having a problem getting it to print all the pages in the report. Here is the code I am using
It does print to the printer but only prints the first report, I have used the print preview also and it only prints the first page from there also, but it has 4 pages to view in the preview. Any Ideas???
Thanks
Rod
I have just began to use Fast Report 2.5 and I am having a problem getting it to print all the pages in the report. Here is the code I am using
frReport1.LoadFromFile('C:\TestReport\other.frf');
if frreport1.PrepareReport then
frReport1.printpreparedreport('',1,true,frall);
It does print to the printer but only prints the first report, I have used the print preview also and it only prints the first page from there also, but it has 4 pages to view in the preview. Any Ideas???
Thanks
Rod
Comments
set the dataset property of the report component to point to the dataset that everything is related to.
In the preview I see 4 pages of information, but it only prints the first one.
any more ideas??
here is what I came up with for a work around for now, maybe this will help clarify what is happening
by using "inttostr(k)" to specify what page to print and puting it in a for loop I can get it to work, but should be able to use the '' to print all shouldn't I??
Thanks again
I really do appriciate the help;
Rod