>I do have an array that holds object references to each form that opens.
>ofrmCustomerDataEntry = CREATEOBJECT( "frmCustomerDataEntry" )
>ofrmCustomerDataEntry.Show()
>The above will just see the form appear and disappear right away.
Now where is the array you store that reference?
If ofrmCustomerDataEntry is a local var, it will get out of scope right away, leaving no reference stored to the form, which leads to it's destroy.
Take a look at the help on DO FORM. It says in the section about NAME: "...If you don't include LINKED, a form can still be active, even though there is no object variable associated with the form."
Bye, Olaf.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement