How to split a database, create install package and move backend db
I have built a multi-user Access 2007 database application.
I split the DB and then use the package wizard to create an install package for the users to install the front end on their computers.
I have created a "configuration" page that is the first to display when they open the front end...basically displays the location of the back end and allows the user to edit if necessary, although since I know where the UNC path I have precoded it to the correct location, but just in case I throw that edit option in there.
So I store this location and use this to construct my database connection string that I call when populating recordsets.
All of my recordset calls work great with this technique. However, I have some bound forms for editing some basic tables and some reports too. These all are broken. They are broken because I am splitting the database on my home computer and then copying the backend to a server location at work and the bound forms and reports are still looking for the back end at the path of my home computer.
I think one option to resolve this would be to split the database after I have moved it to the work server, but I am really wondering if there is a way that I can tell it where to look for the backend. I am thinking that the recordsource of the forms/reports might be able to handle a full path..so I could preset it with the future back end location. (or better yet build the recordsource path with a variable string for the path that can be set)
I hoping this is a just a dumb rookie issue and that someone can enlighten me.
Thank you in advance for your assistance.
I have built a multi-user Access 2007 database application.
I split the DB and then use the package wizard to create an install package for the users to install the front end on their computers.
I have created a "configuration" page that is the first to display when they open the front end...basically displays the location of the back end and allows the user to edit if necessary, although since I know where the UNC path I have precoded it to the correct location, but just in case I throw that edit option in there.
So I store this location and use this to construct my database connection string that I call when populating recordsets.
All of my recordset calls work great with this technique. However, I have some bound forms for editing some basic tables and some reports too. These all are broken. They are broken because I am splitting the database on my home computer and then copying the backend to a server location at work and the bound forms and reports are still looking for the back end at the path of my home computer.
I think one option to resolve this would be to split the database after I have moved it to the work server, but I am really wondering if there is a way that I can tell it where to look for the backend. I am thinking that the recordsource of the forms/reports might be able to handle a full path..so I could preset it with the future back end location. (or better yet build the recordsource path with a variable string for the path that can be set)
I hoping this is a just a dumb rookie issue and that someone can enlighten me.
Thank you in advance for your assistance.
Last edited: