>>>How do I get the data environment to be associated with a form that I've copied over to classes? Thanks.
>>
>>If you're asking how to get a data environment to be associated with a class, you can't.
>
>Yes you can - you just can't do that visually
>you have to CREATEOBJECT the DE by yourself - I used to do that in the LOAD event of the form
>
>BTW, we have dropped using DE at all since it slows form initialization dramatically when you are using a lot of views/tables in a form
>
>Arnon
Yes, I'm aware of using a non-visual DE. As for dropping it, I'd like to hear how you set things up made your form instantiation slow. I hear that often, but if you open all the tables in main.prg, it seems to speed things up dramatically.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer