Thomas,
How are you instanciating the forms? "DO FORM .." or "CREATE(..."? The object reference must be within the scope of LittleForms command button click event.
Mark
>In a project I an working on I have two forms open at the same time. Bigform and Littleform. Littleform contains a button. In the click event of that button I wish to close both Bigform and Litttleform and use the following code:
>
>Bigform.Release
>Thisform.Release
>
>Occasionally this code works and both objects close, but most of the time I get a message which states that Bigform cannot be found.
>
>Can anyone offer insight into why this happens and how I should rewrite my code.
"It hit an iceberg and it sank. Get over it."
Robert Ballard, dicoverer of the Titanic wreckage.