>>Basically, you don't need in SET PATH at all. Instead of this you keep actual data location locally (e.g. in config.dbf) and reset programmatically DE.Cursor.Database property in DE.BeforeOpenTables event(s).
>
>Privet Edward.
>Unfortunately DE. is not a container, also has not property CursorCount :(( I should describe all cursors manually or there is a best solution?
If all cursors are dbc-tables, then you just:
Thisform.SetAll("Database",cNewdatapath,"Cursor")
If some DE.Cursors are free tables then you should go through all cursors (e.g using AMEMBERS(...,2) and reset CursorSource property for 'free' cursors.
Edward Pikman
Independent Consultant