Evaluation of a Query

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Update Query has two columns Column A and Column B.
Column B is a calculation based on the value of Column A.
If columns are 'evaluated' left to right shouldn't I be able to do this in
in one query rather than two.
 
Realistically, you shouldn't be storing calculated values.

As fellow Access MVP John Vinson likes to say "Storing calculated data
generally accomplishes only three things: it wastes disk space, it wastes
time (a disk fetch is much slower than almost any reasonable calculation),
and it risks data validity, since once it's stored in a table either the
Total or one of the fields that goes into the total may be changed, making
the value WRONG."

Rather than storing the calculation, create a query that has a calculated
field in it, and use the query wherever you would otherwise have used the
table.
 
Thank you for your assistance Douglas.

Douglas J Steele said:
Realistically, you shouldn't be storing calculated values.

As fellow Access MVP John Vinson likes to say "Storing calculated data
generally accomplishes only three things: it wastes disk space, it wastes
time (a disk fetch is much slower than almost any reasonable calculation),
and it risks data validity, since once it's stored in a table either the
Total or one of the fields that goes into the total may be changed, making
the value WRONG."

Rather than storing the calculation, create a query that has a calculated
field in it, and use the query wherever you would otherwise have used the
table.
 

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

Back
Top