Information générale
Catégorie:
Codage, syntaxe et commandes
>Can someone confirm the following statement?
>
>If a procedure in a prg file is called from a form method with a private datasession the procedure is executed within the private datasession.
>
>I cannot remember where I read this nor can I find it in the VFP documentation.
Yes, it will execute within the private datasession.
You can also do the following:
WITH THISFORM && or WITH whatever.
DO Something
ENDWITH
In this case, you can then also refer to methods and properties in the "WITH object" (polymorphism).
Précédent
Suivant
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