Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I create a private data session programatically
Message
 
 
To
27/07/1998 15:31:21
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00121744
Message ID:
00121770
Views:
21
>How can I call a module (form-less) that creates its own private data session, opens/closes its own tables, and then closes its data session?
>
>I can see how to do this by creating a non-visible form, but how do I do it without using a form?
>
>
>Bob

Hi Bob:
I havent tried this, but you could use a formset that has no forms.

The problem is that you must add objects to the formset in order for the objects code to run in the private datasession. You can only AddObject() forms to a formset. You might be able to add properties to the formset and CREATEOBJECT() what you need.
Rick Hodder
MCP Visual Foxpro
C#, VB.NET Developer
Independent Consultant
www.RickHodder.com
MyBlog
Previous
Reply
Map
View

Click here to load this message in the networking platform