splitting imported teble into a related tables structure...

zozew

Registered User.
Local time
Today, 11:53
Joined
Nov 18, 2010
Messages
199
Hi

Is there any guide on how to split a table that has information relating to multiple tables (related)...

Example

Imported table:
name, position, salary

Existing structure of DB
tblEmployee: name
tblSalary: salary
tblPosition: Position

they are related through an autonumber key ...thats not part of the imported info

Any Ideas?
 
Give you imported table a primary key and a related foreign key in all the other tables. You can create that relationship via the "Relationship" button on the Design (i thjink) ribbon.
 
hmm..problem is that my related tables share a key and already have a relationship so..i cant create a new one..if i was importing to a new db i would do so easily...
 
You misunderstood what I said. I said add a foreign key to each of the 3 tables which relate them to the imported table's primary key. Tables can have multiple relationships.
 
ok thx ill try that,

Im testing out some append and update queries..but its messy...
 

Users who are viewing this thread

Back
Top Bottom