S
spence
I have a calcuated field in a form that uses an IIF
statement and now I need make the same calculation in a
query. I thought I could just use the same IIF statement,
but when I do I get #Error in most records. Here's the
statment:
=IIf([SC]="731" Or [Provider type]=1,[Payrate]*[Units],
[Payrate]*[Units]*1.115)
The error is showing up in all fields except those where
[SC]="731"
This works perfectly on the form field so what do I need
to do differently to make it work here?
thanks,
spence
statement and now I need make the same calculation in a
query. I thought I could just use the same IIF statement,
but when I do I get #Error in most records. Here's the
statment:
=IIf([SC]="731" Or [Provider type]=1,[Payrate]*[Units],
[Payrate]*[Units]*1.115)
The error is showing up in all fields except those where
[SC]="731"
This works perfectly on the form field so what do I need
to do differently to make it work here?
thanks,
spence