>Hilmar
>
>Thanks for your code :)
>
>But I wanted it in dataenvironment because I would like to create objects from it,
>as combos, listboxes, etc
Create a cursor or table in the command window. Create your form using default DS. Design your objects. Then create the actual cursor in form's Load with the same name and switch to private DS.
If it's not broken, fix it until it is.
My Blog