I am trying to create a numeric field, 4 digits long. This field often has figures such as 0001, 0028, 0123 etc. However, when entered into the table, the 0's preceding the following digits are dropped and it displays for instance : 1, 28 or 123! How do I force the system in my input mask to not suppress the zero's?
A Number is a number: 28, 028, and 0000000000028 are all just
different ways of depicting the same numeric value. It's not stored
with zeros (or a digit 2 or a digit 8 either) - it's stored as a
binary numeric value.
You can set the Format property of the field (or of the control in
which you're displaying the field) to 0000 to force the number to be
DISPLAYED (again, not stored) with leading zeros; or - if you will not
be doing mathematical calculations with the value - you can use a Text
field instead of a Number field, and set its Input Mask property to
0000.