Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to create a separate datenvironment by code ?
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
How to create a separate datenvironment by code ?
Miscellaneous
Thread ID:
01131523
Message ID:
01131523
Views:
58
I have a oSession class that I call from different forms. In this class, I have a method that I would like to run in a separate datenvironment (not in the default one). Basically I would like to make sure whatever I do in the tables would be cleared once the class has been run.

Something like

* Class abc
SET DATAENVIRONMENT TO ??? && create a new dataenvironment

SELECT ... FROM ... ...


CLOSE DATAENVIRONMENT?


Something like we do in a form but without a form ?

Any clue how to do that ?

thks
Eric
Eric Crespin
Consultant
PC PLUS Software Inc.
www.pcplus.ca
Next
Reply
Map
View

Click here to load this message in the networking platform