Trying to understand the Access Decimal / VBA Single/Double "incompatibility"
This morning I am revisiting correctly handling Access Decimal field type values in VBA variables.
In the A2007 help for the Decimal Data Type, I see a warning as follows:
Is it that up to a certain point it will appear to work, and that the Decimal field type and the VBA Single/Double data types have different lower/upper bounds?
TIA!
This morning I am revisiting correctly handling Access Decimal field type values in VBA variables.
In the A2007 help for the Decimal Data Type, I see a warning as follows:
The VBA variable types of Single and Double seem to work correctly for Decimal numbers. Could someone please explain why this warning is given?At this time the Decimal data type can only be used within a Variant, that is, you cannot declare a variable to be of type Decimal. You can, however, create a Variant whose subtype is Decimal using the CDec function.
Is it that up to a certain point it will appear to work, and that the Decimal field type and the VBA Single/Double data types have different lower/upper bounds?
TIA!