I want to print a pagefooter with the following information:
'Page x of y'
where x is the current page number and y is the total pages of the report.
I'm asking if there is any way to do this without using the prepare method
of TQuickReport ?
Thanks
Cesar Miranda
I hope this will work for you. rptTBScreen is the name of quick
report ( ie: qrreport1.)
rptTBScreen.Prepare;
IntPageCount := rptTBScreen.QRPrinter.PageCount;
rptTBScreen.ReportTitle := 'This report has ' +
IntToStr(rptTBScreen.QRPrinter.PageCount) + ' pages';
rptTBScreen.QRPrinter.Free;
rptTBScreen.QRPrinter := nil;
Screen.Cursor := crdefault;
rptTBScreen.Preview;
rptTBScreen.Free;
Look in http://www.w3.to/tonevsoft/faq00002-en.htm or to KB.zip on QuSoft.
Gratitude.
ps. I'm sorry for my very bad English.
--
Petio Tonev
pto...@iname.com
www.i.am/ptonev