M
ms
Access 2000:
I have numeric fields in a table with decimal and non-decimal values. I need to
zero-fill these fields and remove the decimal but keep the 2 digits to the
right of the decimal.
For example, I have records with values such as 23.45 and 1000 from a Text field
and am inserting them into a Text field with 13 places which must be
zero-filled. So they look like this: 0000000002345 and 0000000001000
respectively. I can change the datatype also if needed.
These records were inserted, using a JOIN query, from linked tables. If there is
a way to zero-fill upon insert vs modifying existing records in the table I am
open to either option.
Thanks for the advice.
I have numeric fields in a table with decimal and non-decimal values. I need to
zero-fill these fields and remove the decimal but keep the 2 digits to the
right of the decimal.
For example, I have records with values such as 23.45 and 1000 from a Text field
and am inserting them into a Text field with 13 places which must be
zero-filled. So they look like this: 0000000002345 and 0000000001000
respectively. I can change the datatype also if needed.
These records were inserted, using a JOIN query, from linked tables. If there is
a way to zero-fill upon insert vs modifying existing records in the table I am
open to either option.
Thanks for the advice.