Autonumer field error in a form

A

ALICIA

I have a form that uses an autonumber field from my
table. Numbers 1-9 come out fine, but 10+ show "1E+01"
in the field on my form. In the table, the numbers show
up correctly. What is going on? Thank you in advance
for any assistance you can provide.
 
A

Alicia

LOL... Never mind... My box wasn't tall enough to show
the number on the form. Thanks for looking.

Alicia
 
J

John Vinson

I have a form that uses an autonumber field from my
table. Numbers 1-9 come out fine, but 10+ show "1E+01"
in the field on my form. In the table, the numbers show
up correctly. What is going on? Thank you in advance
for any assistance you can provide.

Just make the textbox wider. Access will switch to scientific notation
if the number won't fit - this makes sense if you are trying to
display 312331156 in a five-byte wide textbox, and makes NO sense in
your case, but it does it anyway!

As a rule you should NOT display autonumbers; their *only* function
should be to provide an almost-guaranteed unique key. Users should not
see them since they will always have gaps and can become random (e.g.
if you Replicate your database).
 

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