>Hi All!
>
> My question is that how can I change the cursor's database (path) property in run time.
>I have an application where there can be many subdirectories but the table names are same.
>
***DE.Beforeopentables event
Thisform.DataEnvironment.SetAll("database",oApp.dbcpathname,"cursor")
Note: it will not work properly if you have free tables in DE (this case you should look at Cursor.Cursorsource properties)
Edward Pikman
Independent Consultant