andy_dyer
Registered User.
- Local time
- Today, 17:51
- Joined
- Jul 2, 2003
- Messages
- 806
Ok this feels quite weird...
I've played around with a calculated field on a subform and now I 'sometimes' get this error message...
I changed my calculated field so that it is now
As previously if there was no currency set it showed #Type which looked weird...
If I now go into my master form for a record that hasn't got a currency set in the subform it displays the runtime error (I can click ok and all ok but want to get rid of the error) BUT
If I go into my master form for a record that HAS got a currency set in the subform and then navigate with record selectors to the same record that hasn't got a currency it DOESN'T display the runtime error...
Why, why, why???
Any ideas??
I've played around with a calculated field on a subform and now I 'sometimes' get this error message...
I changed my calculated field so that it is now
Code:
=IIf([currencyid] Is Null,0,FormatNumber(ExchangeRate([Start Date],[CurrencyID]),10))
As previously if there was no currency set it showed #Type which looked weird...
If I now go into my master form for a record that hasn't got a currency set in the subform it displays the runtime error (I can click ok and all ok but want to get rid of the error) BUT
If I go into my master form for a record that HAS got a currency set in the subform and then navigate with record selectors to the same record that hasn't got a currency it DOESN'T display the runtime error...
Why, why, why???
Any ideas??