Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Same table in more than one DE
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00165436
Message ID:
00165452
Views:
12
>One part of my app cycles three forms. Form 1 calls Form 2 then releases itself, and so on. Some of the tables are used in the data environment of all three forms. The problem is when Form 1 calls form 2 then releases itself, it closes all the tables in its DE, including the ones that exist in Form's 2 DE. This causes problems when methods try to access the now closed tables .
>
>Is this correct OOP behaviour, or is there a way for VFP to protect each form's DE (other than leaving all Form 1 tables open by disabling the auto close tables in Form 1 DE.)
>
>Mon

Set your datasession as private on each form.
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Previous
Reply
Map
View

Click here to load this message in the networking platform