Fred,
There is actually a base class called Dataenvironment. You cannot create such a class in the Class Designer, but you can create one in a PRG. Codebook does this.
You could download the latest codebook from
www.flashcreative.com and look at the cdataenv.prg for creating dataenvironments. You could also look at the cutils.vcx which has a class called cDeLoader that can be put onto a form and will instantiate a dataenvironment class.
>>
>OK, I think I've got a handle on that. I'll look at creating a DE programmatically.>>
>>Arnon has a file here called DE Extractor that is a great way to get started. You can create a regular form with a DE, and then use DE Extractor to pull the DE.
>>
>
>I knew I had read something about a DE extractor. I probably already have it downloaded. Thanks. Someday, I may even actually get to try it! :)
>
>>
>If you mean CREATE FORM with the setting changed in Tools/Options/Forms/Template classes, then OK. Otherwise, I'm not sure what you mean. I just add new classes based on my main form class to the VCX.>>
>>Right, that's what I meant.
>
>OK.