A course can have co-teachers so I have 2 teachers teaching the same course at the same time. I solved the problem of creating a 2nd faculty in my form, but now need help w/my report.
I have tblFaculty, jtblFaculty_CourseSched, tblCourseSched
I have the following fields in tblCourseSched: FacultyID1, FactultyID2, CoursesID, DaysID,Time, LocationsID, RoomID,SemesterID.
I am trying to add FacultyID2 to my report.
I have a control labeled FacName1 for FacultyID1 and I tried to create a duplicate control for FacName2. I went about this by adding tblFaculty to the SQL statement and then adding tblFaculty1 (a duplicate of tblFaculty) for the 2nd faculty. In my expressions I referenced the table for each. This is giving me an error message. How do I get the 2nd Faculty control to work? Which way should the joins go between tblFaculty1 and tblCourseSched? I tried making the same as tblFaculty and tblCourseSched but this doesn't work.
Here is the expression I tried using that doesn't work.
FacName2: IIf(Len([FacultyFirstName]![tblFaculty_1] & "")=0,[FacultyLastName]![tblFaculty_1],[FacultyLastName]![tblFaculty_1] & ", " & [FacultyFirstName]![tblFaculty_1])
How should I/can I add it to the form?
I have tblFaculty, jtblFaculty_CourseSched, tblCourseSched
I have the following fields in tblCourseSched: FacultyID1, FactultyID2, CoursesID, DaysID,Time, LocationsID, RoomID,SemesterID.
I am trying to add FacultyID2 to my report.
I have a control labeled FacName1 for FacultyID1 and I tried to create a duplicate control for FacName2. I went about this by adding tblFaculty to the SQL statement and then adding tblFaculty1 (a duplicate of tblFaculty) for the 2nd faculty. In my expressions I referenced the table for each. This is giving me an error message. How do I get the 2nd Faculty control to work? Which way should the joins go between tblFaculty1 and tblCourseSched? I tried making the same as tblFaculty and tblCourseSched but this doesn't work.

Here is the expression I tried using that doesn't work.
FacName2: IIf(Len([FacultyFirstName]![tblFaculty_1] & "")=0,[FacultyLastName]![tblFaculty_1],[FacultyLastName]![tblFaculty_1] & ", " & [FacultyFirstName]![tblFaculty_1])
How should I/can I add it to the form?
Last edited: