Create button scripts which change the text of the button (or any other object on the form) to tell
the result of pressing the button and/or tell users how to take further action.
Button Scripts
by Bill Hanigsberg
Full Story