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