KenCunningham
Technical User
Morning folks (well it is here anyway). Not about to ask anything of a personal relationship nature here! However, I would appreciate a little advice on how to get a one-to-many relationship working, having only used basic flat files (one-to-one) in the past.
I currently have two tables, Users and Purpose. Purposes are the aims of the user in taking a particular course of action. A user can have several purposes, so presumably I need to link the tables so that the userid (key field) appears in the purposes table to indicate that the user has this purpose in mind? My basic question is, do I then need a table to show the relationship, ie the userid and the purposes they are linked to and how do I set this up?
The internet - allowing those who don't know what they're talking about to have their say.
I currently have two tables, Users and Purpose. Purposes are the aims of the user in taking a particular course of action. A user can have several purposes, so presumably I need to link the tables so that the userid (key field) appears in the purposes table to indicate that the user has this purpose in mind? My basic question is, do I then need a table to show the relationship, ie the userid and the purposes they are linked to and how do I set this up?
The internet - allowing those who don't know what they're talking about to have their say.