See my previous reply, above, concerning PhilOfWalton's suggested Query49.
As far as I can see I have accurately converted Phil's Query48 into my application's terminology, but it gets a "Syntax error in JOIN operation" when I try to run or save it. The error highlights the last instance of the WPH table name before the AND operator, thus:
What am I doing wrong?
As far as I can see I have accurately converted Phil's Query48 into my application's terminology, but it gets a "Syntax error in JOIN operation" when I try to run or save it. The error highlights the last instance of the WPH table name before the AND operator, thus:
Code:
SELECT PersonID, [Name_SN-FN], [Name_FN-SN], Walks.[WalkNumber], Walks.[StartDate]
FROM People INNER JOIN ((qry_LastWalks INNER JOIN Walks ON qry_LastWalks.LastWalk = Walks.StartDate)
INNER JOIN [Walk_participation_history ] ON (Walks.[WalkNumber] = [B][U][Walk_participation_history][/U][/B].WalkNumber)
AND ([qry_LastWalks].PersonID = [Walk_participation_history].PersonID))
ON People.PersonID = [Walk_participation_history].PersonID
ORDER BY People.[Name_SN-FN];
Comment