Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calculated Field in Query

Status
Not open for further replies.

Dickx

Technical User
Joined
Aug 24, 2001
Messages
33
Location
US
When I change a value in a non calculated field in a table based query, the value along with the calculated field is changed. In the table, only the modified value, not the calculated field is changed. What can I do to get both fields to change in the table.
 
Anyway it's often a bad idea to store calculated or derived values in a database as you may retrieve the accurate value by doing the calculation in a query.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
By Definition if it is a calculated field (eg Result:[Price]*[Qty]) or in SQL SELECT ... Price * Qty As Result,... then it does not physically exist in the tabel and thus cannot / will not be updated. This is as it should be.

Regards

Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
Website needs upgrading, but for now - UK
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top