Kevin,
In the exemple of Manoj Karki, you will need to add this line, if the procedure that creat the object was not the same that release the form:
PUBLIC oForm
oForm=CreateObject("Form")
*
* When releasing form
oForm.Release
Release oForm
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20