View Full Version : What type of relationship?


Paul1503
03-09-2010, 02:04 AM
Hi

I have got a Login table and a staff table.
login table has got Staff_ID(PK) and a password field,
Staff table has got Staff_ID(PK) and all the rest.

I want to put this into visual basic but i dont know what relationship to make.
A one-to-one between the two tables
or
A one to many with the many side on the staff table with an extra field on the staff table?

Thanks

Paul

namliam
03-09-2010, 02:37 AM
does it matter?

Guess it depends on do you plan to store only the current PW or the current + x many old passwords??

Paul1503
03-09-2010, 10:34 AM
Hi

Thanks for replying,

I want to store only the current password and current staff.

Thanks

Paul

namliam
03-09-2010, 10:50 PM
current password and current staff

Current == Current
Sounds like a 1:1 to me