R
ronh
i keep getting error 3344 - i am trying to set this up in table, default
value for this field - $ per Galloon - what am i doing wrong?
value for this field - $ per Galloon - what am i doing wrong?
ronh said:Jeff - thanks for the response - I have a table where i have fields.... truck
#, date, amount, gallons, store - I would like to have one field named $ per
gallons and have it calc automatically. That way at a glance i could track
price and tell the drivers which stations to hit.
Any ideas on what is the best way to do this in access. I was just trying
to set a field in the table and have the default value be =[amount]/[gallons].
Thanks in advance for any help.
Ron
Jeff Boyce said:Tables in Access don't have formulas. And if you already have the
underlying fields you'd use to do the calculation, why use a redundant field
to store the results? There are occasional business needs to store a
calculated value, but rarely is it either necessary or worth the extra
effort to keep everything synchronized.
--
Good luck
Jeff Boyce
<Access MVP>
Storing derived data such as this in your table accomplishesAny ideas on what is the best way to do this in access. I was just trying
to set a field in the table and have the default value be =[amount]/[gallons].