The only way to know is in the Report.OnEndPage event, after the last page has been generated. At that time you can check the Report.Engine.Page.LastPage property. If you want to change the report based on if it is the last page, then you need to use a two pass report (Report.PassSetting). Check the Report.AbsolutePageNo in the second pass to see if it equals Report.AbsolutePageCount. Then you know you are on the last page. There is a Report.SecondPass boolean property.
Comments
has been generated. At that time you can check the
Report.Engine.Page.LastPage property. If you want to change the report
based on if it is the last page, then you need to use a two pass report
(Report.PassSetting). Check the Report.AbsolutePageNo in the second pass to
see if it equals Report.AbsolutePageCount. Then you know you are on the
last page. There is a Report.SecondPass boolean property.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com