>>I have a form containing a command button. The click event of that command button calls another form. How do I close the Initial form before the other one is called.
>
>I think this will work:
>*** some form snippet
>DO FORM anotherform
>Release Thisform
>But maybe it's enough Thisform.Visible=.F. ? (depends on what you need in)
Maybe a two-step process? First, have the button call the form with
DO FORM anotherform WITH THIS
In the Init of anotherform, have:
LPARAMETERS oCallingForm
oCallingForm.Release
Whaddya think?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05