>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,
Does it lose scope if you comment out the entire PARAMETERS line? Of course you have to modify the calling program, too. If that causes it to keep scope, then add back the parameters one at a time to see which one kills it.
Sounds like a pretty weird problem...hope you find it soon.
Steve Gibson