How do I set a default value?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
How do i set a default value of three 0's. I have forced it to be 3 digits.
but if i enter 012 it becomes 12. I want it to force it to have a default
value of 000 if nothing is entered.

Thanks for your help in advance.
 
Hi Raj

What you need to set here is not the *value*, but the *format*.

Set the Format property of yout textbox (or field) to "000". Then any value
with fewer than three digits will display with leading zero(es).
 
Back
Top