Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Public Variable Losing Scope on Init of Form
Message
 
 
To
13/08/2001 15:54:41
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00541965
Message ID:
00543311
Views:
25
>>>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--
Previous
Reply
Map
View

Click here to load this message in the networking platform