why is my currency is rounding off.

  • Thread starter kelly draper via AccessMonster.com
  • Start date
K

kelly draper via AccessMonster.com

I have a textbox formatted as currency. the field that it is bound to is
also formatted as currency in it's table.
problem is, I cant input any cents into the textbox. when I enter dollars
and cents, the textbox automatically rounds to the nearest dollar. Anybody
know why it's doing that and how to make it stop cuz this problem just
doesnt make any cents (Ha!Ha! bad pun.)
 
B

Bob Howard

Have you checked the "decimal places" property in the table and in the
form's control? One of them might be set to zero.
 
J

John Vinson

I have a textbox formatted as currency. the field that it is bound to is
also formatted as currency in it's table.
problem is, I cant input any cents into the textbox. when I enter dollars
and cents, the textbox automatically rounds to the nearest dollar. Anybody
know why it's doing that and how to make it stop cuz this problem just
doesnt make any cents (Ha!Ha! bad pun.)

I strongly suspect that your Table definition has this field as a
Number; the default Number datatype is a Long Integer, which is an
integer - that is, a whole number without decimals.

Change it to a Currency datatype (not the format, but the *datatype* -
it's on the list along with Number, Text, Date/Time and so on).

John W. Vinson[MVP]
 

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