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:
00121868
Views:
19
Hi Robert,

Simply create a DE class, add the tables/views in it and simply issue
oDataEnv = CREATEOBJECT('NewClassName')
You should be able to acces the tables/views in it now. Remember that if you create this class from a method of an object then it will only be available to that method.


>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
Previous
Reply
Map
View

Click here to load this message in the networking platform