Hi Ed,
You should have a prg in your project. Set it as your project's "Main".
In the prg you should have the following:
...
DO FORM yourform
READ EVENTS
...
In your form, make sure that you perform a CLEAR EVENTS (most likely in your form.unload event)
Good luck