I have a short text field that I am parsing out the month from. I then want to use it as part of my where clause
I have this syntax but am getting data type mismatch...but am a i not converting it to date format so the DateDiff function should work?
I have this syntax but am getting data type mismatch...but am a i not converting it to date format so the DateDiff function should work?
Code:
Select * from teamroster
where DateDiff(‘m’, CDate(Mid([action date],InStrRev([action date], ‘ ‘) + 1)), Now()) > 7;