No I wanted one DE and one CA. I had put two CAs into the DE and could not figure out how to remove the second CA.
Mike
>
>You want two dataenvironments ?
>
>>>This is a bug.
>>>With ASELOBJ(aCA) you can remove the ca
>>>
>>>ASELOBJ(aCa)
>>>acA[1].Parent.RemoveObject(aCa[1].Name)
>>>
>>>
>>>But are you sure of what you do?
>>>In this way you are adding a second dataenvironment to the form,
>>>this has problems when the form run and form's members are binded.