The error message is crystal clear. Your data type is now DateTime2, which the ODBC driver reads as text, causing any numeric date handling to fail.
Best option is to change the data type to DateTime and your code will work.
Else, convert the text dates to true dates:
=DCount("[ClaimNum]","tblClaimsData","[ClaimStatus] = 'Open' and Date() - DateValue([DateReceived]) between 60 and 90")
That may still fail, however, if the text dates contain milliseconds, like 2021-02-04 15:42:30.000
.
If so, these must be chopped off before converting.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…