Forum Discussion

Tony2021's avatar
Tony2021
Steel Contributor
Dec 24, 2021

Balance query

hello Experts,

I have 2 tables.

tblFacility

tblDraws

 

I want to develop a query that will show the tblFacility.Amount - sum of tblDraws.Amount

I thought it would be as simple as making a sum query but I seem to be doing it wrong (I get an aggregate function error).  Not sure what I am doing wrong?  Please see attached db with the 2 tables and the query.  thank you for the help. 

 

 

Resources