Hi,
I have a query with the following SQL:
SELECT tblCompanies.Company, tblServicePrice.Service, tblServicePrice.Price, tblServicePrice.Currency, tblServicePrice.[Number of Issues], tblDeadlines.Deadline
FROM (tblCompanies INNER JOIN tblDeadlines ON tblCompanies.ID = tblDeadlines.Company) INNER JOIN tblServicePrice ON tblCompanies.ID = tblServicePrice.Company
WHERE (((tblCompanies.Company)=[Forms]![SearchF]![Company]) AND ((tblServicePrice.Service)=[Forms]![SearchF]![Service]) AND ((tblDeadlines.Deadline)>Date())) OR ((([Forms]![SearchF]![Company]) Is Null) AND (([Forms]![SearchF]![Service]) Is Null) AND ((tblDeadlines.Deadline)>Date()));
The only aspect which is not working is the filtering by date. I have tried to make the query only return results after today's date. It seems that Access is simply ignoring my date command.
Please help!