>>To check for existence:
>>
>>if type('thisform.OtherForm.Name') = 'C'
>> * Form is alive
>>endif
>
>
>Thanks.
>
>As would:
>
>IF vartype(Thisform.OtherForm.Name) = 'O'
> ThisForm.OtherForm.Name.Release()
>ENDIF
>
>
>Correct?
>
>dg
Vartype check in this case may be not 100% reliable. Checking for name with type is 100% reliable method.
If it's not broken, fix it until it is.
My Blog