There's an example in the NorthwindCS.adp sample app. Look for the
procedure 'ChangeDb' in the module 'Startup'
Wonderful!
I allready ran into the next problem though
After changing the connection, the right recordsets (the ones in the
database i just changed to) are displayed, but suddenly my forms become
"read only". I can't edit, delete or add new recordsets.
I checked the properties of the database / tables with the Enterprise
Manager and they are exactly the same as the ones of the original database
/ tables. The databases are even on the same server/instance.
If I change the connection back to the original datasource/initial
catalogue combination the recordsets are editable again.
Any idea, how this might be solved? Thank you so much for your help...