and i had those text box :
txtarticle, txtPrice, txtAfterDiscPrice, txtCashMoney
i want to write this code
Expand|Select|Wrap|Line Numbers
- If (txtAfterDiscPrice is null) then txtCashMoney=txtPrice ;
- else
- txtCashMoney=txtAfterDiscPrice;
- on the default value of the txtCashMoney.
Expand|Select|Wrap|Line Numbers
- = iif(isnull(txtAfterDiscPrice ) ,= [txtPrice] ,= [txtAfterDiscPrice ]