Hi all, can someone please point out whats wrong with this where clause?
My sql runs fine until i add this where clause on the end and then it gives me a 'Too Few Parameters. Expected 2. error! Using MS access database.
Cheers in advance.
Code:
WHERE (((IIf(IsNull([revisedduedate])=True,[duedate],[revisedduedate]))=#01/01/2006# AND ReportMAP.Priority='H' ORDER BY Clients.ClientName, DetailsofPlan.PlanCode, ReportMAP.RecNum
My sql runs fine until i add this where clause on the end and then it gives me a 'Too Few Parameters. Expected 2. error! Using MS access database.
Cheers in advance.