Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Public Variable Losing Scope on Init of Form
Message
 
 
À
13/08/2001 15:54:41
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00541965
Message ID:
00543311
Vues:
19
>>>A public variable is available in the form called by a program. When that form calls a second form, upon entering the Init, it loses scope. The second form uses local parameters, but none are named the same as the public variable. Any ideas?
>>>
>>>Regards, Renoir
>>
>>Is a public variable passed as parameter somewhere? If this is the case than this variable became invisible in the called program.
>
>Sergey,
>
>I've searched through the app and I can't see anyplace it is being passed. The variable has correct value in the form's Load and only loses scope when the Parameters statement is run in the Init of the 2nd form. This Parameters statement does not include the variable in question. Any other thoughts?
>
>Renoir

Renoir,

Can you post following info:
- Actual name of the global variable
- The actual line that calls the form in question
- The parameter statement from the Init of that form
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform