Hi Bill,
The easiest way to learn what events are fired when is to select each
event you need to work with from the Events dropdown box on the form's
class module. Then place a messagebox call for each event
msgbox "OnDirty Event"
...
...
msgbox "OnFocus Event"
...
Note: the messagebox may interfere with some events firing completely
(or at all) because of the modalness of the messagebox. In that case
you can do a debug.Print for each event and look at the debug window.
Some events (like the OnCurrent event) will fire for anything you do on
the form and you will either have dozens of messageboxes (more like
hundreds - to the point where you have to ctrl-alt-del to shut down the
medb) or you might get lots of debug.prints - but you don't have to shut
down for debug.print because that will execute right on through and just
write out your message to the debug window.
Rich
*** Sent via Developersdex
http://www.developersdex.com ***