Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
SCOPE of PARAMETER in FORM
When I call a form like:
DO FORM frmMyForm WITH m.nMyParameter
I wrote:
PARAMETER m.nMyParameter
in the INIT event of frmMyForm
When I use:
? m.nMyParameter
in the INIT event it works, but the same code in the CLICK
event of a BUTTON on frmMyForm doesn't.
The problem is the SCOPE of the parameter, witch is LOCAL (I guess).
My question is:
1. how do I pass a parameter when I want to be PRIVATE ?
2. how do I pass a parameter to the CLICK event of the button ?
3. is there an other way to do this, whithout using an extra variable...
Thank's in advance...
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