>Thanks Jim
>
> Someone told me earlier that the DE was saved as part of the
>class. How do I create a DE as a class. I assume just by opening
>the files manually with code right?
>
>Thanks Gary
Gary,
You can open the tables in code in the formset Load event, or you can create a de class in code and addobject to the formset in the load event.
* MyDe.prg
DEFINE CLASS MyDE AS DataEnvironment
* In here you can addobject the cursor objects and set their properties
* You can also ...
PROCEDURE BeforeOpenTables
* Write the code you want in here
ENDPROC
* etc, etc, etc
ENDDEFINE