I am getting #Error while generating report, after converting the database from 2003 to 2007.
The "#Error" when run the report. On this you have report elements use nested if-statements as parameter to the sum() function. It seems like this works on 2003, but not on 2007.
Steps;
1) Open the zip file, rename the file, by remove _ at the end of the file.
2) If you run the report based on image02, you will get
#Error in the report.
3) this is becoz of the
From my understanding.. . there are more arguments passed, if 8 args, then report is generating.
Is there any way by writing VB functions.. to remove this error...
Please suggest.
Thanks,
Eswar.
The "#Error" when run the report. On this you have report elements use nested if-statements as parameter to the sum() function. It seems like this works on 2003, but not on 2007.
Steps;
1) Open the zip file, rename the file, by remove _ at the end of the file.
2) If you run the report based on image02, you will get
#Error in the report.
3) this is becoz of the
Code:
SUM Funtion : =Sum(IIf([lob1] Like "WC*",[premium1],
IIf([lob2] Like "WC*",[premium2],
IIf([lob3] Like "WC*",[premium3],
IIf([lob4] Like "WC*",[premium4],
IIf([lob5] Like "WC*",[premium5],
IIf([lob6] Like "WC*",[premium6],
IIf([lob1] Like "PWC*",[premium1],
IIf([lob2] Like "PWC*",[premium2],
IIf([lob3] Like "PWC*",[premium3],
IIf([lob4] Like "PWC*",[premium4],
IIf([lob5] Like "PWC*",[premium5],
IIf([lob6] Like "PWC*",[premium6],0)))))))))))))
Is there any way by writing VB functions.. to remove this error...
Please suggest.
Thanks,
Eswar.
Comment