Dearyou can use a Query to total those Main accounts.
or you can use DSum() in your report.
see report1.
i really appreciate your answers i learned alot
thanks
your first example shows data very good in query (data is ready there in quey )
i think we already done calculation (dsum) in Query
we want to recall theses data instead of recalculated again using dsum as you do in you last report
please check you first file attached
Finalquery is there ready with daya
sale 5000
cost 3000
so we want just to recall theses data to cells in report