Thanks, I've been looking for a link like that to explain the apostrophes however, ive tried a few different variations and am winding up with either #error or 0 as the result.
=DCount("[id]","[qrysso]","[ssoyear]= '" & Year(DateAdd("m",-1,Date())) & "' And [ssomonth]= '" &...