Help - Search - Members - Calendar
Full Version: Division by Zero Error
Fast Reports forum > Fast Reports Products > FastReport 3.0
jpoot
Hi Folks,

I'm getting a division by zero error in the following expression:

[IIF(<frxDataset1."PLAN_ORI_ENE_JUN"> = 0,100,<frxDataset1."VARIACION1">/<frxDataset1."PLAN_ORI_ENE_JUN">*100)]

It suppose avoid zero division but it doesn't work.

Any idea?

Regards.
AlexTZ
It won't work in 3.06 and earlier version. Since 3.07 IIF is macro and it will works well.
jpoot
Hi Alex,

I have updated to 3.07 and it works fine.

Thanks.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.