>>>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--