Hi to all,
On my development system I do access either the local or remote database. When running my application a splash screen should show me which database has been selected.
On the splash form’s Data Environment is a table systeminfo and the ControlSource of a field points to systeminfo.dbversion, the value in this field should show me which database is currently selected.
However, it always shows me the value from the local source regardless whether the remote or local source is selected.
In an ini-file there are both database paths and my app class controls the database selection. When I step through my main.prg I can see that the remote path from the ini-file is catched and used by the method opendatabase to select the remote database.
All this is done executing: oApp = CREATEOBJ('exapp')
DO FORM forms\Systeminfo is the next command to run my splash screen.
At this point I expect that the data systeminfo.dbversion comes from the remote source but is does not.
What could be the reason for this behavior?
Regards,
Klaus
On my development system I do access either the local or remote database. When running my application a splash screen should show me which database has been selected.
On the splash form’s Data Environment is a table systeminfo and the ControlSource of a field points to systeminfo.dbversion, the value in this field should show me which database is currently selected.
However, it always shows me the value from the local source regardless whether the remote or local source is selected.
In an ini-file there are both database paths and my app class controls the database selection. When I step through my main.prg I can see that the remote path from the ini-file is catched and used by the method opendatabase to select the remote database.
All this is done executing: oApp = CREATEOBJ('exapp')
DO FORM forms\Systeminfo is the next command to run my splash screen.
At this point I expect that the data systeminfo.dbversion comes from the remote source but is does not.
What could be the reason for this behavior?
Regards,
Klaus