I had an application, an MDB with all tables linked to SQL Server, where I would call DoCmd.ApplyFilter on an Order form and use a WhereCondition like the following:
Now I am try to develop an ADP, but this same sort of filter fails! I get this error message: "Cannot apply Filter on one or more fields specified in the Filter property."
What am I doing wrong? Why won't this filter work?
Code:
EXISTS (SELECT 1 FROM OrderDetails AS x WHERE Orders.OrderID = x.OrderID AND x.Received = 1))
What am I doing wrong? Why won't this filter work?