Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data session persistence?
Message
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01501524
Message ID:
01501551
Views:
53
>Hi Naomi,
>
>Again thanks for your quick response.
>
>What I am trying to do is create a COM EXE server. The user calls a method in the COM server that calls a form. The form instantiates a view, which presumably is a table in the data session. The form closes, and the function returns to the caller.
>
>Since instantiating the view is actually time consuming, and, the table will not change from call to call, I would like the next call to the form to be able to use the same table.
>
>I know that this isn't the way you're supposed to use COM servers, but I have only one user who needs this.
>
>So, if the form is sharing the same data session as the object that called it. When the form closes, does the table live on in the common data session?
>
>All of this would be much easier to figure out if I could actually run the COM server under the VFP debugger, but that is not possible without a great deal of effort.
>
>Thanks,
>Jim

If the table was opened before the form was called, it's going to stay open. If you opened the table in the form, then I believe it's a property of DE to AutoClose tables which you may want to set to false.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform