I'm trying to get the totals for Answer1 for each record with the size field being large. Using the line below I get the error "Expected End of Statement" and the word Large highlighted. I'm sure it's a simple change but I can't seem to figure it out. Thanks for any help.
strSQL = "SELECT Answers.Size,Sum(Answer1)/7 AS TotAns1," _
& "FROM Answers Group by Answers.Size HAVING (Answers.Size = "Large")
strSQL = "SELECT Answers.Size,Sum(Answer1)/7 AS TotAns1," _
& "FROM Answers Group by Answers.Size HAVING (Answers.Size = "Large")