>Hello
>
>Form base class does not support DataEnvironment, how sad.
>
>So I drag the DE to my FORM class and active the Builder, very thing Good.
>
>But one thing make me crazy, the dragged DE does not auto open CAs it contained. So form loading fail because alias not exist.
>
>I have to change my code hardly, set form.bindcontrols=.f., and the all control's init code, how disapointed.
>
>Any easy solution ?
Push the DE object into the background, so it instantiates before anything else. Even better, create it it programmatically in form.load, so it gets created first, before the controls.