count databand row

Stimulsoft Reports.NET discussion
Post Reply
Vikas
Posts: 20
Joined: Sat Jul 31, 2010 4:12 am
Location: Delhi

count databand row

Post 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
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

count databand row

Post by Alex K. »

Hello,

You can use funtion Div().

Div(Variable, Count(DataBand))

Thank you.
Post Reply