I would take a totaly different approach. This is the way I handle
calculations from subforms. I would put an unbound textbox on the footer of
the subform and the control source would look something like this
Sum([funding]) and name the field TotalFunding. Then on my main form I would
put another unbound textbox and have its control source set to
=[YourSubformName].Form!TotalFunding
Then in the On Activate event of the Main Form you would want requery so
that the total would be updated if you added another record. The code would
look like this.
Me![YourSubformName].Requery
Hope this helps
> I have a main form with two linked subforms (very like the customer order
> form in Northwind 2003). In the footer of the main form is a control which
[quoted text clipped - 10 lines]
>
> Any clear advice (idiot style!) much appreciated.
C Tate - 22 May 2008 22:27 GMT
This is partially what I did actually. However, this only adds up all the
funding for a particular (in this case) group of houses. What the dsum
calculation does is add up the funding for all the groups of houses on a
site. And it is this that will not work/update correctly.
> I would take a totaly different approach. This is the way I handle
> calculations from subforms. I would put an unbound textbox on the footer of
[quoted text clipped - 23 lines]
> >
> > Any clear advice (idiot style!) much appreciated.