>CLEAR > >MD temp1 >MD temp2 >CREATE DATABASE temp1\dbc1 >CREATE DATABASE temp2\dbc1 >CLOSE DATABASES all > > > >open DATABASE temp1\dbc1 >open DATABASE temp2\dbc1 > >? "first return name only !!!" >FOR k=1 TO ADATABASES(adbc) >? adbc[k] >NEXT >SET DATABASE TO dbc1 >? "selected the last opened !! ",DBC() >CLOSE DATABASES all > >? >? " revert order" > >open DATABASE temp2\dbc1 >open DATABASE temp1\dbc1 >? "first return name only !!!" >FOR k=1 TO ADATABASES(adbc) >? adbc[k] >NEXT >SET DATABASE TO dbc1 >? "selected the last opened ",DBC() >CLOSE DATABASES all >>
>open DATABASE temp2\dbc1 ALIAS blabla >set database to blabla >We can not change all the code that opens the database. We fixed the places where we did SET DATABASE to use the full path. Still some changes are done in the local tables instead of the network tables. The DBC() shows the right table all the time during the save method.