Pieter said:
<Sighs> Here we go again...
This week's the DECIMAL data type is worthy of consideration.
Engine sorting of negative values in descending order (honestly, just
how many people need to do this?) is predictable yet wrong. Resolution:
don't sort using the engine or create an additional column for sorting
purposes by efficiently promoting the DECIMAL column to another data
type.
Jet's CDEC casting function is broken but is not a major issue: Jet
considers decimal values to be native DECIMAL in nature; the CDEC
function can be implemented in VBA in Access; values in Jet can be
coerced to DECIMAL by operating on them using native DECIMAL value.
VBA has a Decimal variant subtype which is acceptable (and is numeric
<g>): a multiple-scaled integer needed to implemented as a reference
type; fixed point types have no hardware support so the inefficiency
associated with the Variant type would still be an issue if Decimal was
an intrinsic type; not all native Jet types map directly to a VBA type
and where they do they are not always widely used (e.g. CHAR(N) maps to
String * N).
The export bug can be worked around (and improved upon) using a
different export approach e.g. a query.
Anything else?
Jamie.
--