>Hi All!
>
>My question is that how can I change the cursor's database (path) property in run time.
>
>Thanks IVAN
You change it as any other property:
***DE.BeforeOpenTables event
Thisform.DataEnvironment.SetAll("Database",oApp.dbcpathname,"Cursor")
Note: it will bomb for free tables, so real code might be better
Edward Pikman
Independent Consultant