Can Anyone help
I have the following arrangement on a form / subform which I am having problems with
Subform Detail
[Quantity] *[Unit Cost]=[Total Line Cost]
Subform Footer
[Sum of Total Line Cost]=Sum([Total Line Cost])
Main Form
[Total Cost] = [Subform].[Sum Of Total Line Cost]
My problem is as follows
When I fill in [Quantity] and [Unit cost], [Total Line Cost] works fine but [Sum of Total Line Cost] only seems to calculate if I click in the subform again.
I would like to jump into the main form without having to click again in the subform but when I do this I get the wrong figure in the main form
Is the any way I can recalculate the subform footer sum on an after update event on [Quantity] and [Unit Cost]. I have tried requery but this doesn't seem to work
Thanks
I have the following arrangement on a form / subform which I am having problems with
Subform Detail
[Quantity] *[Unit Cost]=[Total Line Cost]
Subform Footer
[Sum of Total Line Cost]=Sum([Total Line Cost])
Main Form
[Total Cost] = [Subform].[Sum Of Total Line Cost]
My problem is as follows
When I fill in [Quantity] and [Unit cost], [Total Line Cost] works fine but [Sum of Total Line Cost] only seems to calculate if I click in the subform again.
I would like to jump into the main form without having to click again in the subform but when I do this I get the wrong figure in the main form
Is the any way I can recalculate the subform footer sum on an after update event on [Quantity] and [Unit Cost]. I have tried requery but this doesn't seem to work
Thanks