![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello, How would I solve this issue? I am working on a college registration database in 8.5. There is a Teacher table and a Course table. Each course can have a Teacher and an optional Co-Teacher, both of which come from the Teacher table. I need a portal/relationship where I can display all of the Courses that a teacher has Taught or Co-Taught. I believe this is probably simple and just involves a slightly more complex relationship. Any brilliant ideas? Darren |
#3
| |||
| |||
|
|
Hello, How would I solve this issue? I am working on a college registration database in 8.5. There is a Teacher table and a Course table. Each course can have a Teacher and an optional Co-Teacher, both of which come from the Teacher table. I need a portal/relationship where I can display all of the Courses that a teacher has Taught or Co-Taught. I believe this is probably simple and just involves a slightly more complex relationship. Any brilliant ideas? Darren |
#4
| |||
| |||
|
|
Create a third relationship for this purpose that simply displays all classes for a teacher regardless of whether they were teaching or co-teaching. |
#5
| |||
| |||
|
|
So what would this relationship look like? I have a teacher table with a TeacherID and a course table with TeacherID and CoTeacherID I thought I could do this: teacher:TeacherID = course:TeacherID AND teacher:teacherID = course:CoTeacherID but I don't think that will work. How would you structure the third relationship? Thank you. Darren On Feb 13, 11:45 am, Howard Schlossberg how... (AT) antispahm (DOT) fmprosolutions.com> wrote: Create a third relationship for this purpose that simply displays all classes for a teacher regardless of whether they were teaching or co-teaching. |
#6
| |||
| |||
|
|
I would go with what Grip has already replied. Create a stored/indexed calc field in Courses that includes both IDs separated by a return character. Create your third relationship from The teacherID in the Teachers table to this new calc field in Courses. Darren wrote: So what would this relationship look like? I have a teacher table with a TeacherID and a course table with TeacherID and CoTeacherID I thought I could do this: teacher:TeacherID = course:TeacherID AND teacher:teacherID = course:CoTeacherID but I don't think that will work. How would you structure the third relationship? Thank you. Darren On Feb 13, 11:45 am, Howard Schlossberg how... (AT) antispahm (DOT) fmprosolutions.com> wrote: Create a third relationship for this purpose that simply displays all classes for a teacher regardless of whether they were teaching or co-teaching. |
![]() |
| Thread Tools | |
| Display Modes | |
| |