Sorry, but this really doesn't make sense! If it's a
Number Field it
won't have leading Zeros! If you enter
leading Zeros into a
Field defined as a
Number Access will drop them when you exit the
Field/Control. The only way to have the
leading Zeros, as you've just stated, is for the
Field to be defined as
Text!
You can
display Fields defined as
Numbers with
leading Zeros, by using the
Format Function, but what is being displayed is actually a
String, which is to say
Text.
If your app is truly exhibiting the behavior you state,
QUOTE (Nes @ May 29 2012, 03:21 AM)

...If I change that to "text", it just wipes out all the zeros from the table.
....how can I convert a number field to text field without losing the leading zeros?
the only thing I can think of is that the
Form, the
Control holding the data or the
Database itself is
Corrupted.
Controls can and do become
Corrupted and that would be the first thing that I'd check. You can simply
delete the
Control then
re-create it to find out.
Linq
;0)>