>The proposed solution is meant for simple forms with one or two dbf's. Have a look at
http://www.jamesbooth.com/remotedata.htm for a more complete solution that changes the dataenvironment at run time.
My experience has taught me to NOT use the DE in an application, it causes far more problems than it solves.
But I use a DE from time to time during development. For instance when I create a grid bound to a cursor, I create a table with the same name and structure as the cursor. Then I add the table to the DE and create the grid by dragging it from the DE to the form. Then I clear the DE and delete the table. That is in my experience the easiest way to create a grid which will be driven by a cursor.