Calculate distance driven on an expense report

G

Guest

Fields Date, starting mileage, ending mileage = distance driven, seems
simple,,,,


BUT HOW!!!

can anyone please advise how to calculate mileage drive in a table?????


respond and I will send you a copy of the table------
 
M

Marshall Barton

distance said:
Fields Date, starting mileage, ending mileage = distance driven, seems
simple,,,,


BUT HOW!!!

can anyone please advise how to calculate mileage drive in a table?????


No can do. Tables are for storing data, not for displaying
calculated values. For that matter, the rules of database
table stucture (called Normalization), state that a value
that can be derived from other values in the same record
should **never** be saved in the record.

As a matter of good design practices, you should never
display a table directly where users can see it. Instead
you should create a form to display the table values, it is
trivially easy to calulate your distance value using an
expression in a text box's control source property.
 

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