Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Private datasession issues..
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00153491
Message ID:
00153594
Views:
20
You can add a Data Environment to a custom
object.

First, define the data env in a prg:

DEFINE CLASS DataEnv AS DataEnvironment
AutoOpenTables = .F.
ENDDEFINE

Then in the custom object:

This.oDataEnv = CREATEOBJECT("DataEnv")



Be sure to SET PROCEDURE TO your prg with
the DataEnv class definition.


After setting it up in you custom class,
just call

This.oDataEnv.OpenTables()
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Previous
Reply
Map
View

Click here to load this message in the networking platform