Hi guys
I have 2 currency fields, one for cost of trip, one for amount that the customer has paid so far. I have created another unbound field on the form which i want to subtract the amount paid from the cost.
I have the following expression for default value:
=Nz([Cost])-Nz([AmountPaidToDate])
Seems straight forward enough. But always gives me £0.00. If i change everything to straight forward numbers, i still get 0. If i take off the NULL converter, i just get an empty box.
EDIT - If the first record you look at has the values in it will work, but because it's unbound, the value is kept for every record! Basically i want it to update as soon as you enter any values, and also work for new records!
Cheers
Edd
I have 2 currency fields, one for cost of trip, one for amount that the customer has paid so far. I have created another unbound field on the form which i want to subtract the amount paid from the cost.
I have the following expression for default value:
=Nz([Cost])-Nz([AmountPaidToDate])
Seems straight forward enough. But always gives me £0.00. If i change everything to straight forward numbers, i still get 0. If i take off the NULL converter, i just get an empty box.
EDIT - If the first record you look at has the values in it will work, but because it's unbound, the value is kept for every record! Basically i want it to update as soon as you enter any values, and also work for new records!
Cheers
Edd
Last edited: