Could it be that the DE, despite having no tables, has an InitialSelectedAlias that doesn't apply?
>Hello Foxperts,
>
>I have built a fairly simple form to edit the records of a small table. When I type these two commands in the command window:
>
USE mytable
>DO FORM myform
>everything works fine. So I created Myprg:
>
USE mytable
>DO FORM myform
>RETURN
>and the form comes up blank! The form's dataenviroment is empty, and AutoOpenTables and AutoCloseTables are both .F.
>
>Any insight will be appreicated.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)