I have the following line of code:
!curFixedAmount = Me.curPriceShekF + Me.curPriceShekM + (fGetYatzig() * Me.curPriceDollF) + (fGetYatzig() * Me.curPriceDollM)
the me.* are unbound text boxes that can be null.
the function fgetyatzig gets the exchange rate from NIs to $ from a table.
If one of the text boxes is blank then I get the following error:
“Run time error 13 type mismatch”
How can I use the NZ function to get rid of this ? I have tried to use it and it does not help.
Any ideas??
Thanks