General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
They are going to be methods in a public-scope "data activity object" class that I am instantiating at app startup. So I'd call TOpen() instead of using VFP's use command. Everything is happening on the local box (no shared network access). I just wanted to be sure I got the table open properly (in case I already have it open elsewhere, etc).
What would you recommend in the Destroy() event to get every table tableupdate()'d etc?
>What sort of safety do you want?
>
>If you use an object instead, you can save yourself the trouble of closing the table in code: the table is closed in the class'es Destroy() event. As soon as the object variable gets out of scope, Destroy() fires!
>
>However, there is no need to close tables if you use the table in a form with a private DataEnvironment.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only