You are going to need a separate query to get the total.
select Activity, sum(estimation) as TotEstimate from
(Select distinct activity, tasks, estimation from table) as q1
Group by activity
Ssve as qryTotest
You then have a choice of how to get the value..recordset, subfor, dlookup
simplest is a dlookup.
textbox with a controlsource of..
=Dlookup("totestimate", "qrytotest","activity='" & me.activity)