>how to change database name in form at runtime. I have databases in different directories with same struct with diff. data. I want my forms to access the relevent database depending on the choice selected. But it seems that form hard code the DE cursors.
>
>Rajesh
1) Assuming you save the DBC path to an object called oSysinfo.DBCPath
In the DE beforeopentables method issue...
This.Cursor1.DataBase = oSysinfo.DBCPath
for each view