I was asked to take over support for an Access database that the client has been using for several years. Perhaps I’m naïve, but I’ve never seen anything like this mess – but then again perhaps relational theory has been supplanted by linked-table theory (lol) and I just missed the boat. Here’s what I’ve found.
1. There are 4 distinct Access databases. When the user clicks the icon for the database, a data entry form is brought up. The form has also has buttons for some reports. However, the data is interconnected and tables in the databases are linked to each other.
2. The tables all appear to be flat files and none are related or have even primary keys, although some fields are indexed. Instead of relating the tables, the "developer" appears to have linked tables from (subsidiary?) databases.
3. One large table has an autonumbered ID column. At first I thought the ID column was the primary key, until I looked at the table in design mode and found that it was not only not a key, but that the duplicates were allowed.
4. The tables & forms have no rules other than data type. Looking at one large table with over 18,000 rows, there are several thousand duplicates, apparently because there were no controls to check for duplicate phone numbers, company names, etc. There were also a thousand or so entries with only a telephone number, but no data in any of the other columns in the row - a useless record.
In an ideal world, I would move all of the tables, forms, etc, into a single database, unlink the tables, set primary keys, relate the tables, and set up a main menu. However, even that will probably present problems, as the developer wrote entirely uncommented VBA routines which will undoubtedly present problems and have to be amended. The cost would probably be prohibitive.
However, the databases have worked for the client, without any significant problems, except for thousands of (almost) duplicate rows and rows empty of usable data, which means that it ain't broke...but would really benefit from some added data entry rules.
I think that the following may be within their budget: Unlink the tables, set some basic rules on some of the columns, such as No Duplicates, set a primary key on each table, and then relink the tables. Unfortunately, I have no experience with such extensive linking of tables among multiple databases and there may be unwanted consequences.
Does anyone have experience with linked Access tables spread out among several Access databases, and can advise me on this? My gut feeling is to just stay away from this mess, but the client is a small business and I’d like to help them out.
Thanks,
Phil
1. There are 4 distinct Access databases. When the user clicks the icon for the database, a data entry form is brought up. The form has also has buttons for some reports. However, the data is interconnected and tables in the databases are linked to each other.
2. The tables all appear to be flat files and none are related or have even primary keys, although some fields are indexed. Instead of relating the tables, the "developer" appears to have linked tables from (subsidiary?) databases.
3. One large table has an autonumbered ID column. At first I thought the ID column was the primary key, until I looked at the table in design mode and found that it was not only not a key, but that the duplicates were allowed.
4. The tables & forms have no rules other than data type. Looking at one large table with over 18,000 rows, there are several thousand duplicates, apparently because there were no controls to check for duplicate phone numbers, company names, etc. There were also a thousand or so entries with only a telephone number, but no data in any of the other columns in the row - a useless record.
In an ideal world, I would move all of the tables, forms, etc, into a single database, unlink the tables, set primary keys, relate the tables, and set up a main menu. However, even that will probably present problems, as the developer wrote entirely uncommented VBA routines which will undoubtedly present problems and have to be amended. The cost would probably be prohibitive.
However, the databases have worked for the client, without any significant problems, except for thousands of (almost) duplicate rows and rows empty of usable data, which means that it ain't broke...but would really benefit from some added data entry rules.
I think that the following may be within their budget: Unlink the tables, set some basic rules on some of the columns, such as No Duplicates, set a primary key on each table, and then relink the tables. Unfortunately, I have no experience with such extensive linking of tables among multiple databases and there may be unwanted consequences.
Does anyone have experience with linked Access tables spread out among several Access databases, and can advise me on this? My gut feeling is to just stay away from this mess, but the client is a small business and I’d like to help them out.
Thanks,
Phil