Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing the view before the tables
Message
From
14/10/1997 22:45:05
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Closing the view before the tables
Miscellaneous
Thread ID:
00054613
Message ID:
00054613
Views:
84
In one of my form, where I have a view, I had to do a small change regarding the ThisForm.DataEnvironment.CloseTables().

In that form, I was not using any buffering. So, the changes were done directly on the related tables for the view. However, sometimes, this was causing me some problem when I was letting the form to close the tables by having ThisForm.DataEnvironment.AutoCloseTables=.T. I had to put it to .F., and close the view manually first and then close the tables in order to avoid the problem.

With AutoCloseTables=.T., I was, sometimes, having a message saying that the table (one of my table used for the view) was not found or something similar to that.

Is that because I was using no buffering or when using views we should always close the view first?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform