Page 1 of 1

count databand row

Posted: Thu Aug 26, 2010 7:43 am
by Vikas
Hi

I need to calculate the row count of the Databand in the Footerband.

If count is zero ( means no data is there then not appear the footer band in the report) .

I am doing a calculation in the footer band and dividing the value to count(DataBand) .

but if count(Databand) value is zero then showing the runtime error as "Attempted to divide by zero" error.

How i resolve this issue.
Please suggest me?

Regards
Vikas

count databand row

Posted: Thu Aug 26, 2010 7:54 am
by Alex K.
Hello,

You can use funtion Div().

Div(Variable, Count(DataBand))

Thank you.