I have the following code:
SELECT
Count(personnel.Position) AS countofposition,
personnel.Position,
Year(DateAdd("m",-6,[Personnel.End_Date])) & "-"
& Year(DateAdd("m",6,[Personnel.End_Date]))
FROM personnel
GROUP BY Year(DateAdd("m",-6,[Personnel.End_Date])) & "-"
& Year(DateAdd("m",6,[Personnel.End_Date]));
and i get the "Reserved error (-3087); there is no message for this error" message
I've checked the list of reserved words and I'm pretty sure I haven't used any. Rhe only thing I can think of is that the "Year" in "Year(DateAdd.... blahblahblahblahblah)" is messing me up
Edit: Also, personnel.position is a multi valued field Thoughts?