I have an Orders form with subform to show existing purchases and allow new ones to be added.
An unbound field TotalFirkinsInPeriod on the main form shows the total volumes purchased over a defined period up to the current date, using source
=DLookUp("TotalInPeriod","qryFirkinsTotalInPeriod")
When adding new items to the subform I want this field to update after each new entry. It only updates on closing and reopening the form.
I tried including in the subform's AfterUpdate event
- Me.Parent.TotalFirkinsInPeriod.Recalc, which gave Run-time error 438, 'Object doesn't support this property or method'
- Forms!Orders.Requery, which did nothing
Suggestions?
An unbound field TotalFirkinsInPeriod on the main form shows the total volumes purchased over a defined period up to the current date, using source
=DLookUp("TotalInPeriod","qryFirkinsTotalInPeriod")
When adding new items to the subform I want this field to update after each new entry. It only updates on closing and reopening the form.
I tried including in the subform's AfterUpdate event
- Me.Parent.TotalFirkinsInPeriod.Recalc, which gave Run-time error 438, 'Object doesn't support this property or method'
- Forms!Orders.Requery, which did nothing
Suggestions?