not able to enter 0's

J

Jesse

I set up the data base so that reciet numbers is one of
the fields. The field data is numbers. I have placed the
validation rule to be Like "######" but when I eneter a
number like 0004321 it will not record the data. How can I
set up the field properties so that there can be 0's
placed in that field. All of our reciepts are 6 digits but
some of them start with multiple zeros. thanks in advance.
 
J

John Vinson

I set up the data base so that reciet numbers is one of
the fields. The field data is numbers. I have placed the
validation rule to be Like "######" but when I eneter a
number like 0004321 it will not record the data. How can I
set up the field properties so that there can be 0's
placed in that field. All of our reciepts are 6 digits but
some of them start with multiple zeros. thanks in advance.

Use a Text datatype field (rather than a number) - you will *never* do
arithmatic with receipt numbers! You can set the field's Input Mask
property to 000000 to force entry of six digits.
 

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