|
Question : relationship type in Access
|
|
Hi
I want to change the relationship type in Access but I can't. It is always one-to-many. I cant even change the order of this one - to - many. For example, I have 2 entities (A,B) and the relashionship is one-to-many from A to B. In my application in Access the relashionship is always one-to-many but from B to A which is wrong. That's because I can't change it in Access. Can somebody help please?
Thanks a lot.
|
|
Answer : relationship type in Access
|
|
waleed,
I am a beginning Access user. I tried setting up your design -- I found it a useful exercise. I got the one-to-many relationship in the direction you wanted. Here's how I did it:
tbl_lecturer ------------ key: lecturerID name
tbl_course ---------- key: courseID lecturerID title
The reason I put lecturerID in tbl_course is, you want each course to have exactly one lecturer. (I'm not sure I agree with that assumption -- more generally, one would make a tbl_teach that hooks up the lecturer and the course, allowing team teaching.)
mathbiol
|
|
|
|