Kelly
Review...
or
And more advance...
When working with relationships, ask questions...
Can an employee have belong to many systems?
Then turn the question around.
Can a system have many employees?
(Graham. a long-time star of Tek-Tips, discussed this in his post)
If the answer YES to both, then you may have a many-to-many (M:M) relationship. You need a joiner table for this -
tblEmpSystem with EmployeeID + SystemID.
If YES to one but NO to the other then you have a one-to-many (1:M). Here you include the primary key from the one-side (where you answered NO) as a "foreign key" on the many-side.
Assuming that you have the M:M, it works as follows...
tblEmployee
BadgeNum - primary key (consider dripping the "#" octophorp)
EmployeeLN - text (last name)
EmployeeFN - text (first name)
etc
tblSystem
SystemID
SystemName
tblEmpSystem
BadgeNum - foreign key to employee table
SystemID - foreign key to system table
AccessLevel
StartDate
TermDate
Primary key, as indicated by Graham is BadgeNum + SystemID
It is irrelavent if the primary key for tblSystem is an autonumber or not.
I included the AccessLevel, etc to show how you can capture information on the "joiner" table to use it as a profile.
...Moving on
A one-to-one (1:1) relationship is not common. As part of normalization (read literature for this process), anything on one table or the other should be on one table.
However, a 1:1 is used effectively in some situations....
Most common is in isolating secure information. In an employee table, you have public information (eg. their name, title, manager), and private or confidential informaiton (eg. salary, health perhaps age). The "public" table is commonly used by all. The "private" table may be on another (linked) database, and is only accessible to HR.
The last thing, and I have not seen it mentioned yet; when designing a database, look at your expected outcomes. What type of information are you trying to track - reports, trending, etc. This is a basic step in design since a design impacts what reports you can get. A flaw in the design may only become apprent if you find that you can not retrieve your data properly to provide informaiton because it is not tracked or accessible.
Good luck Kelly.
Richard