>how about I create the dataenvironment using coding (.prg) ?
>
>e.g.
>
>oDe = createobject('dataenvironment')
>
>how can i attach it to a form ?
>
>in form.load
>thisform.dataenvironment = oDe
>
>is this correct ?
>
>thanks
In the Load, add the following:
THIS.AddObject("Dataenvironment","oDE")
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao