Error I'm getting 'The expression you entered contains invalid syntax, or you need to enclose your text data in quotes.
I can't figure out where it's wrong
If Dcount(Nz([StatFlag]),[Books],[StatFlag]="W") >0 , ((Nz([StatFlag])) ="W" , (((Nz([StatFlag]))<>"R" And (Nz([StatFlag]))<>"M" And...