Thanks. I tried that and same thing same error.
Here is the whole query:
SELECT qryDining_Plan_Sun.Attendee_ID, qryDining_Plan_Sun.Table, qryDining_Plan_Sun.Last_Name, qryDining_Plan_Sun.[Seat Code], qryDining_Plan_Sun.Att_Count, Sum(DSum("[Att_Count]","[qryDining_Plan_Sun]","Seat Code<='" &...