O
oracle8202
I have noticed behavior in Access 2007 that could potentially delete/remove
relationships in your database when you try to split the database into a
front end and a back end using the “Database Toolsâ€->â€Access Databaseâ€
option. If you have a table locked (such as having the table open or a form
(such as the switchboard) accessing a table) when you try and split the
database you will get the following error “The database engine could not lock
table ‘table_name’ because it is already in use by another person or
process.†After clicking okay you will notice the split did not succeed
because you still have all of your local tables and no linked tables. You
will also notice all of your relationships defined in the database have been
deleted. Now the back end is created correctly. The tables exist and the
relationships are still defined. Now if you don’t realize your relationships
have been deleted you might delete the back end (since it does not contain
any of your custom objects, form, reports and so on) and try to redo the
split after releasing the lock on your table. The problem is the split works
but the back end is created without any relationships.
I just thought I would share this in hopes that somebody could avoid losing
their relationships. Always backup you database before doing a split.
relationships in your database when you try to split the database into a
front end and a back end using the “Database Toolsâ€->â€Access Databaseâ€
option. If you have a table locked (such as having the table open or a form
(such as the switchboard) accessing a table) when you try and split the
database you will get the following error “The database engine could not lock
table ‘table_name’ because it is already in use by another person or
process.†After clicking okay you will notice the split did not succeed
because you still have all of your local tables and no linked tables. You
will also notice all of your relationships defined in the database have been
deleted. Now the back end is created correctly. The tables exist and the
relationships are still defined. Now if you don’t realize your relationships
have been deleted you might delete the back end (since it does not contain
any of your custom objects, form, reports and so on) and try to redo the
split after releasing the lock on your table. The problem is the split works
but the back end is created without any relationships.
I just thought I would share this in hopes that somebody could avoid losing
their relationships. Always backup you database before doing a split.