A
Alex
I have a data dictionary file with field types and lengths which is meant to be
used for programmatically creating a table. In this file the definitions for
numeric fields specify the total number of digits and also the number of digits
to the right of the decimal separator. I intend to use dbInteger for cases
when the number of digits to the right of the decimal separator is zero, and
dbCurrency when it's not. My concern arises from the fact that dbCurrency
fields are guaranteed accurate up to four digits of the decimal sign and in
some instances the dictionary shows fields with five digits to the right of the
decimal sign. After I create the table I will be using it for importing data
from a text file. Is there a better approach for handling of numeric fields
than what I'm thinking of doing?
used for programmatically creating a table. In this file the definitions for
numeric fields specify the total number of digits and also the number of digits
to the right of the decimal separator. I intend to use dbInteger for cases
when the number of digits to the right of the decimal separator is zero, and
dbCurrency when it's not. My concern arises from the fact that dbCurrency
fields are guaranteed accurate up to four digits of the decimal sign and in
some instances the dictionary shows fields with five digits to the right of the
decimal sign. After I create the table I will be using it for importing data
from a text file. Is there a better approach for handling of numeric fields
than what I'm thinking of doing?