Full Version: Delete Event For After Record Is Deleted
UtterAccess Forums > Microsoft® Access > Access Forms
tbaker818
I can't seem to find a way to capture the point after the record is actually deleted when the user has delete confirmation turned off, so that AfterDelConfirm is not an option. The Form.Delete event fires just before. Is this not possible?
TheSmileyCoder
What I have done in similar cases is to use the timer event. I precode the timer event, but leave the timerinterval 0. In the delete code, I will set Timerinterval to 1, which means the timer event will fire right after the delete is finished, and it can essentially function as an "afterdelete" event.
Hope that helps.
tbaker818
Ok, great. That worked!
TheSmileyCoder
Thats good to hear.

Best of luck with your project!
This is a "lo-fi" version of UA. To view the full version with more information, formatting and images, please click here.