I have a date field in a certain query. I am creating a advanced filter Query to search one date less than another. I was able to accomplish this. The problem I am having is the blank data fields. In my table the field has dates but a few blanks. I am trying to query a date less than another date or a blank. I am having trouble pulling the blank items in. How do I get a query to filter by blank fields also?
Creating a filter query
Collapse
X
-
I in the Advanced filter section design view. For example
field: Asset status report date
Table: Special Servicing loan query
Sort:
Show:
Criteria: < [Most recent Special servicer transfer date]
or: ???? this is where i want to also search the column for blank fieldsComment
-
Code:SELECT [Special Servicing Loan Performance Filter].[Asset Status Report Date], * FROM [Special Servicing Loan Performance Filter] WHERE ((([Special Servicing Loan Performance Filter].[Asset Status Report Date])<[Most Recent Special Servicer Transfer Date] Or ([Special Servicing Loan Performance Filter].[Asset Status Report Date])=IsEmpty("«varexpr»")));
Comment
-
Try changing that to :
Code:SELECT [Special Servicing Loan Performance Filter].* FROM [Special Servicing Loan Performance Filter] WHERE (Nz([Asset Status Report Date],#1/1/1900#)<[Most Recent Special Servicer Transfer Date])
Comment
Comment