I don't know the answer but this will "bump" you.
In VBA in Excel it would be easy:
MsgBox "Goodbye World!"
I'm not familiar with Access so I don't know whether a similar construction is possible. However what you need is something like that or an event-driven procedure click here
click here may help as well.