Decimal places in forms

K

Kazlou

I have a number field in a table, and I want to display 4 decimal places
regardless of how many are entered.
I've gone into the table, set the field size to interger, formal to general
number and decimal places to 4
Then on the form I've gone into the properties and set the field to general
number and the decimal places to 4.
When I put a number in it rounds it off to no decimal places.
Help please - what am I missing>>
thanks
karen
 
S

Steve Sanford

I've gone into the table, set the field size to interger, formal to general
number and decimal places to 4

Integers are *whole* numbers. They *do not and can not* have decimal parts
of a number. It doesn't matter how many places you set the decimal property
to.

To have/show decimals, change the field size to Single, Double or Decimal
type.


HTH
 
K

Keith Wilby

Kazlou said:
I have a number field in a table, and I want to display 4 decimal places
regardless of how many are entered.
I've gone into the table, set the field size to interger, formal to
general
number and decimal places to 4
Then on the form I've gone into the properties and set the field to
general
number and the decimal places to 4.
When I put a number in it rounds it off to no decimal places.
Help please - what am I missing>>
thanks
karen

To add to Steve's comments, tables are merely buckets for your data, you
wouldn't normally concern yourself with formatting at table level, do that
in the form.

Keith.
www.keithwilby.co.uk
 

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