Fabio,
It's not a bug. External DE is supported for forms only. See
Creating, Subclassing, and Specifying a DataEnvironment Class in VFP8 help. It didn't change in VFP9.
>Previous issue Thread #
956559>
>Bug/Issue : 9 of 29
>
>TITLE: Bug, VFP cannot add a DE to a formset
>
>VERSION: 09.00.0000.1720 and previous
>
>EXPECTED:
>FormSets allow dataenvironment like child object
>
>OBSERVED:
>- define a formset class with a dataenvironment object fire a error
>- Add a dataenvironment object to a formset object at runtime fire a error
>- Add a dataenvironment into a VCX formset it is impossible
>
>RESULT: formset with a dataenvironment can to be used only into a SCX.
>
<snip>
--sb--