Number Format

M

Montana Rain

Is there a way of entering a number, never to exceed 999, and have it
show in a form, table, & query as three digits - such as 056?
 
F

fredg

Is there a way of entering a number, never to exceed 999, and have it
show in a form, table, & query as three digits - such as 056?

Set the format property of the field or a bound control to:
000
or you could use an unbound control on your form or report:
=Format([NumberField],"000")

As far as showing the value with 3 digits in a table, be aware that
tables are for storing data, not displaying it, so there should be no
real reason to care what the value display's as.
 
K

KARL DEWEY

In the table field properties set the validation to <1000 so it will
not exceed 999.
 

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