LOCAL loForm loForm = CreateObject("YourFormClass") loForm.Show(1) * Let the form class call its Hide method when you are done with it. lcLocalVariable = loForm.PropertyName * Now lcLocalVariable contains the value your form placed in its property * Now release the modal form from memory loForm.Release()