how to make calculation in form accept null value when using Iif in query?
like this
i use company as check box.. when i check it, 50 appear at texbox at form..then i click at calculate button (to calculate quotation) have no prob... but when check box not checked, is say error..
what should i do?
is my Iif expression is correct?
like this
Code:
Extra1: Iif([company]=-1,50)
i use company as check box.. when i check it, 50 appear at texbox at form..then i click at calculate button (to calculate quotation) have no prob... but when check box not checked, is say error..
Run-time error '64'
Invalid use of null
what should i do?
is my Iif expression is correct?