Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How bad is to have...?
Message
From
22/11/2001 20:52:55
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
22/11/2001 15:51:15
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00584984
Message ID:
00585028
Views:
34
>How bad is to have an application with lots of forms with private sessions?
>
>I am having some trouble with my application and I am getting sick debbuging it so I thought I could just leave the forms I have problems with, with the Datasession set to Private and debbug them with more time. (I have a deadline and basically that's the problem).

Generally it is healthier to use private datasessions for modeless forms, and default ones for modal forms called from them (i.e. if you want to synchronize content, stay on the same records etc, and the modal form doesn't try to reopen the tables which are already open).

You'd generally have less headache with private datasessions, for several reasons:
- no worries with wich tables to close and which not when you release the form, they all close
- no collisions with multiple open forms using the same tables
- you can open the same form many times and edit different records. Can't do that with the default datasession unless you keep inventing new aliases, which would need a lot of coding if your controls are bound.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform