Do you have any code in QueryUnload() or Destroy()?
If you are storing references of other object in Form's property, you will need to destroy them before calling Thisform.Release().
>I have a form with a command button for Exit. The only command in the click event of the Exit button is THISFORM.Release. How come when I press the button I get an error like, "Syntax Error." sometimes.
>
>Would that error occur if the form was already released, but yet still visible on the screen? Help! Help! Thanks.
- Jayesh