I am trying to create a query in MS Access that queries up to 4 tables to produce a nice collation of information.
Upon clicking the view I receive an error:
Syntax error (missing operator) in query expression sessions.sessionTypeFK=session_type.session_type.id) inner join staff on (sessions.StaffFK=staff.staff_id) inner join person on (staff.FK_personID=person.personID'
Interestingly it always misses off the last bracket in error?
SELECT sessions.*, session_type.[Session Type],forename,surname
from sessions
inner join session_type on (sessions.SessionTypeFK=session_type.session_type_id)
inner join staff on (sessions.StaffFK=staff.Staff_ID)
inner join person on (staff.FK_PersonID=person.PersonID)
I know that MS Access is fuzzy, and you have to wrap the inner join with ()
to get it to work, I have done this with several other queries but am genuinely struggling to get this bit parsed.