with thisform.Dataenvironment .CloseTables .Addobject('mycursor','cursor') with .myCursor .Alias = 'myAlias' .Database = 'c:\myPath\myDBC.dbc' .cursorsource = 'myTable' endwith .OpenTables endwithRelation would be in the same manner. However if you don;t have a good reason do not try to do this in dataenvironment. Instead directly code in load or init depending on your needs. ie: form.Load