Page and TotalPages
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
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