First of all, bare with me as I have not used Access in a long time. Second
of all I didnt create the tables. With that said, there is currently no
primary key, however, if that would be easier, please tell me how to set one.
However, I don't want the search to overwrite the infomation in the 2 table;
just to pull in the added columns. There is a unit ID field that can be set
as a primary key.
The table names are Targeting and Universities with union transfer info.
The new columns added are called: Union 1, Local 1 Unit 1. For these
columns there are columns that goes up to 15 for each (i.g. Union 2, Local 2,
Unit 2, etc.)
Then your table design IS WRONG.
This is a good design for a spreadsheet, but Access is *not* a spreadsheet!
It appears that what you have is a "many to many" relationship: each
university is related to zero, one, or more (up to fifteen) Unions, and each
Union is at zero, one or more Universities. Is that correct?
If so the properly normalized table structure would be:
Universities
UniversityID <Primary Key, there's probably a public database of
universities somewhere, otherwise perhaps an Autonumber>
UniversityName
City
State
<other information about the university as an entity>
Unions
UnionID <same logic as UniversityID>
UnionName
<other info about the union as an entity>
UniversityUnions
UniversityID <link to Universities, Long Integer if that's an autonumber>
UnionID <link to Unions>
<any information about THIS university's association with THIS union, e.g.
Local, Unit>
This will let you add any needed number of unions for a university (you'll
need a lot more than 15 to handle UC Berkeley!!) without needing to redesign
your table every time you get more, and without having to search across 15
fields.
I want to be able to pull this information from these columns and put in the
other table under these same columns so that the person will be able to use
the updated one and not keep creating another table.
Ummm... why should they create a new table AT ALL!?
I hope that makes sense. If you know a better/easier/quicker way, please
share with me.
I hope the above does so.