Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Leaving database files open
Message
From
14/01/1997 09:27:48
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00017292
Message ID:
00017294
Views:
56
>What is the best way to leave database files open during the entire time your program runs?
>
>I currently am using two database files and I'm running into stacking errors because the files open several times but do not close even though I use close all in the exit commands of forms.
>
>I have read that it is better to leave the files sit open while the program is running, how can I do this without running into a conflict while switching forms constantly?
>Thanks

I don't think there is much use in multiple table opening. Actually you should trace your app flow and open table once in 'top' form and never do this in 'child' forms. Moreover I used to open free tables once in Start Prg module and not to open them in DataEnvironment (the same way I did it in FPW).
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform