Calculations in a query

Clem

Registered User.
Local time
Today, 14:09
Joined
Mar 13, 2012
Messages
16
Hi, can anyone out there tell me if it is possible to calculate a value in a column in a datasheet view of a query. i.e. I want to take a value in 'Column A' and subtract the value in 'Column B' to create a value in 'Column C'? If it is possible. How?
 
Yes - in the top line of the query criteria design type something like ResultField: [ColumnA] - [ColumnB]

If the Column names are from different tables, and have the same names you would need to include the table names; e.g [table1].[columnA] - [table2].[columnA]
 
Minty, thanks so much that seems to have provided the answer, instead of :banghead: I am :D

regards Clem
 

Users who are viewing this thread

Back
Top Bottom