H
HearSay
I am getting a statement too complex error in the where clause of my query.
Access 2000 is my version
I am not going to include the whole statement, just the erroring out part.
Parameters strBDayDate Text (255);
Select .......
where
(((CDate([Staff_Birthday_Month] & "/" & [Staff_Birthday_Day] & "/" &
IIf([staff_Birthday_Month]<Month(Date()),Year(DateAdd("yyyy",1,Date())),Year(Date()))))>=CDate([strBDayDate])))
Any ideas why this would just stop working?
Access 2000 is my version
I am not going to include the whole statement, just the erroring out part.
Parameters strBDayDate Text (255);
Select .......
where
(((CDate([Staff_Birthday_Month] & "/" & [Staff_Birthday_Day] & "/" &
IIf([staff_Birthday_Month]<Month(Date()),Year(DateAdd("yyyy",1,Date())),Year(Date()))))>=CDate([strBDayDate])))
Any ideas why this would just stop working?