numeric field that accepts leading zeros

G

Guest

I have a field in my form called TIN_Nbr that I have set as numeric with a
fixed format. This field stores a 9 digit number but I need it to store
leading zeros, which it keeps truncating the zeros. How can I fix this? Is
it at the table level or form level? Do I need to set the type to Text or is
there a number format I need to use?

Thanks!
 
F

fredg

I have a field in my form called TIN_Nbr that I have set as numeric with a
fixed format. This field stores a 9 digit number but I need it to store
leading zeros, which it keeps truncating the zeros. How can I fix this? Is
it at the table level or form level? Do I need to set the type to Text or is
there a number format I need to use?

Thanks!

A number datatype field does not store leading zeros.
If you want to keep the field as Number, you can format the field as
000000000
and it will display leading zeros (but the zeros will not be stored).
If the field is not going to be used for calculations, why not simply
make the field's datatype Text.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top