Problem with the TotalPages variable!
jerome
France
Hi!
I discovered FastReport yesterday and I am already having some problems with the variables.
I have a table which is too long to be on one single page.
I have a footer which I want to print only on the last page, so I have put the right option in the OnPrint option ('LastPage').
But when I generate the Data in the table, the TotalPages variables is still at '1' whereas it should be at '2', and the footer is being printed on the first page instead of the second page.
I don't know why this variable doesn't match with what's really happening in the report.
I've been trying the whole afternoon to fix this, but I need a footer that will be printed at the bottom of the last page.
Thanks in advance for your help, I really need it...
I discovered FastReport yesterday and I am already having some problems with the variables.
I have a table which is too long to be on one single page.
I have a footer which I want to print only on the last page, so I have put the right option in the OnPrint option ('LastPage').
But when I generate the Data in the table, the TotalPages variables is still at '1' whereas it should be at '2', and the footer is being printed on the first page instead of the second page.
I don't know why this variable doesn't match with what's really happening in the report.
I've been trying the whole afternoon to fix this, but I need a footer that will be printed at the bottom of the last page.
Thanks in advance for your help, I really need it...
Comments
Did you set the report pass to double? It can be done in the "Report|Options..." dialog.
I just replaced the footer with a databand that will be printed at the bottom of the last page!
Thanks anyway for your help
following this post when I put any Total in PageHeader Band (with double pass option), it dose not work correct most of the time