stevemanser
Registered User.
- Local time
- Today, 19:06
- Joined
- Oct 28, 2008
- Messages
- 18
On my form I have an AfterUpdate event that updates some grand totals, but it doesn't fire when a record is DELETED. I have tried putting the UpdateTotals code in the Form_Delete event, but it runs too early (i.e. before the actual delete) so the values are still the original ones, and thus wrong.
Any ideas on getting the grand totals calculated correctly after a delete?
NOT WORKING FOR DELETES:
Private Sub Form_AfterUpdate()
Call UpdateTotals(Me.Parent.Form, txtOrdGID)
End Sub
OR
Private Sub Form_Delete(Cancel As Integer)
Call UpdateTotals(Me.Parent.Form, txtOrdGID) <--- fires too early
End Sub
Steve
Any ideas on getting the grand totals calculated correctly after a delete?
NOT WORKING FOR DELETES:
Private Sub Form_AfterUpdate()
Call UpdateTotals(Me.Parent.Form, txtOrdGID)
End Sub
OR
Private Sub Form_Delete(Cancel As Integer)
Call UpdateTotals(Me.Parent.Form, txtOrdGID) <--- fires too early
End Sub
Steve