Nigel,
>If you're using Do Form, use Do Form (formname) Name (variable) Linked - this will then enable you to use your name variable instead of thisform. Linked will ensure the form referenced gets dumped when the variable goes out of scope.Inside a form where you'd have to use thisform, it's wrong to use a hard coded reference to the name of a memvar that hold the object reference to the form. You prevent the form from running more than once, and it will fail if the NAME clause happens to use something different.