updating main form when deleting record from subform datasheet

marcnz

New member
Local time
Tomorrow, 01:07
Joined
Dec 21, 2006
Messages
8
Hi, I have a problem I don't know how to solve it. I have a subform in datasheet view, linked to the main form. There is a running total on the main form based on a dsum on a field of the subform.
When I delete a row on the subform datasheet, the main form calculation is not automatically updated. I had to create a "update" button to do the refresh.
Is there a "on record delete" event available for a datasheet sub form?
Thank you for any help.
 
The subform has an OnDelete event that runs when a record gets deleted. Look at the properties for the subform, go to the Events tab, and you'll see it.

~Moniker
 
Last edited:

Users who are viewing this thread

Back
Top Bottom