i have report which opens by aform
there is field in a query named duecheck if its value is 1
then in report it should show statucer value
or else pending
this is the formula
=IIf([duecheck]=1,[STATUSCER],"pending")
it shows this error if the value is true #Error
instead of showning statuscer value
if false it shows pending
steps
open forms = reportform
select year =2011
select shop = qd
select month = jan
click " calibraiton month status "
the error is shown in report
pls help database atatched
there is field in a query named duecheck if its value is 1
then in report it should show statucer value
or else pending
this is the formula
=IIf([duecheck]=1,[STATUSCER],"pending")
it shows this error if the value is true #Error
instead of showning statuscer value
if false it shows pending
steps
open forms = reportform
select year =2011
select shop = qd
select month = jan
click " calibraiton month status "
the error is shown in report
pls help database atatched