CancelEvent Action
DoCmd Object
Events and Event Properties Reference