R
Ron Hinds
In Access 97, Access would perform implicit conversion of data in a text box
to, e.g., a Currency when used in an expression like so:
If txt_price > txt_sellprice Then
However, in Access 2003 this test doesn't perform as expected unless I
explicitly cast the text box value to Currency, like so:
If CCur(txt_price) > CCur(txt_sellprice) Then
Is there a setting or option somewhere that governs this behavior? Or am I
going to have to go through my entire app looking for expressions like this
and explicity casting them?
to, e.g., a Currency when used in an expression like so:
If txt_price > txt_sellprice Then
However, in Access 2003 this test doesn't perform as expected unless I
explicitly cast the text box value to Currency, like so:
If CCur(txt_price) > CCur(txt_sellprice) Then
Is there a setting or option somewhere that governs this behavior? Or am I
going to have to go through my entire app looking for expressions like this
and explicity casting them?