>Hello.
>
>The command "DO FORM" creates a variable with the same name with the .SCX file.
>Is there a way to automatically release it at the form's release?
>
>In other words: in the UNLOAD method, is there a way to find what the file name is?
>
>Thank you.
>Grigore Dolghin
I'm not sure why you'd want to do this.
DO FORM MyForm creates a PRIVATE memvar of object type (i.e. object reference) in the calling program. When the form is .Release(d) and control returns to the line after DO FORM, the object reference is set to .NULL. (although it still exists).
When the calling routine exits, the private memvar will be automatically destroyed.
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up