Hi
I have the calculation of the DataBand using the count function.
but my problem is that -
If I have the count as zero and I am dividing this zero by any value then "Attempt to divide by Zero exception" is displaying.
I need to give this condition or if no records are there then no display the footer band in the report.
Please suggest me.
Thanks
Vikas
Databand calcuation condition in footer band
Databand calcuation condition in footer band
Hello,
You can use the following code in events "Before print" on Footer component:
Thank you.
You can use the following code in events "Before print" on Footer component:
Code: Select all
if (Div(Variable, CountVariable) == 0 )
{
GroupFooterBand1.Enabled = false;
}