>>>A variable declared in your main program is public for practical reasons (unless you declare it LOCAL), since it is available everywhere.
>>>
>>
>>Private variables would not be seen in non-modal forms beyond the Load of the form.
>>
>
>Hello Nadya,
>
>That is not true...private variables/objects created in the main program are visible in all methods of forms.
Quick tests confirmed, that you're right. However, I recall, that I had situations, when variable, declared as private in main program, was not visible in the form. I have this application at work, I remember, I had to change private to public. I'll check, what's wrong in this case more carefully.
If it's not broken, fix it until it is.
My Blog