Help with Text Box

E

Eric

I have a text box that contains weight (in ounces). When a
user puts in the ounces with a decimal point, it
automatically rounds to the nearest whole number. I have
tried to format the table to include decimals as well as
the form but to no avail. There is also no code behind the
text box. Is there something that I am overlooking?
 
R

Rick Brandt

Eric said:
I have a text box that contains weight (in ounces). When a
user puts in the ounces with a decimal point, it
automatically rounds to the nearest whole number. I have
tried to format the table to include decimals as well as
the form but to no avail. There is also no code behind the
text box. Is there something that I am overlooking?

Most likely you set the field up as an Integer or Long Integer neither of
which support fractional values. You need to use either Single, Double, or
Currency.
 

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