I want to write a fraction in access (ex: 11 15/16), I'm able with a format
TEXT but I'm not able to do somes calculations because the format is not
numeric. What can I do??? Can I write fraction with numeric format?
Not only can you do it, but that's what you should do. Fractional numeric
values that you intend to do math on, should ALWAYS be stored as Curency,
Single or Double.
What you are experiencing is something similar to what happens to people
that store ZIP codes in a numeric column:
1. Define a ZIPCode column as Long Integer.
2. Open the data sheet and enter a ZIP Code: 12345
3. Now enter another one in 9-digit format like this: 12345-6789
4. Now click on another record and go back and check the one from step 3.
You will find a value of 5556 because Access interprets the hyphen in the
ZIP Code as a subtraction operation, and therefore executes what it thinks
is a mathematical expression, and the value that actually gets stored to the
table is the result.
Ditto on storing phone numbers in numeric fields. Punch up your Windows
calculator and figure out what happens when you put 215-555-1212 in a
numeric column.
The bottom line: If you have a fractional value (11 15/16) that you intend
to do math on, find a way to evaluate it to an actual numeric value, and
then store the result.