To to get the sum of conditional aggregates in an Access form -
i have table tblbudget, contains
id expensetype year month amount
11 hardware 2017 sep 5000
11 software 2017 oct 2000
11 hardware 2016 jan 1000
12 software 2017 feb 1500
i need display expenses id, expensetype, year, month. hence created group query
select id,expensetype,year,month,sum (amount) sumofamount tblbudget group id,expensetype,year,month
this query works fine, need sum total total amount @ bottom of screen.
on access form tried setting control source "=sum([amount])" gives me #error.
i guess due fact have sums of amount in datasheet. there way grand total in footer of form
Comments
Post a Comment