I have a database driven app which uses an Access mdb file for the data source. Users can have multiple "projects" which are contained in their own mdb files. The app must allow the user to switch between "projects" and the data bindings in the interface must follow the active project. Any suggestions on the best way to handle?
I currently have a connection string defined in my app's properties which points to a specific "base" file name. This is the database file that is always initially loaded. When switching projects I save this file to another filename based on the current project's name and copy the new project's file to the "base" file name. Then I restart the app to reset the data bindings. It seems there should be a better way of doing this.
JR
I currently have a connection string defined in my app's properties which points to a specific "base" file name. This is the database file that is always initially loaded. When switching projects I save this file to another filename based on the current project's name and copy the new project's file to the "base" file name. Then I restart the app to reset the data bindings. It seems there should be a better way of doing this.
JR