Page and TotalPages

edited 11:07PM in FastReport .NET
How to check if I'm on the last page to hide TextObject? Report is enabled double pass.

if (Report.GetVariableValue("Page") == Report.GetVariableValue("TotalPages"))
{ MessageBox.Show("LastPage");
Text12.Visible = false;
}
But it does not work.

How can I do to know if is the last page?

Thank you

Leave a Comment