M moi Member Local time Tomorrow, 05:17 Joined Jan 10, 2024 Messages 273 May 7, 2024 #1 Hello all, How to filter (date field) blank/no value of a query.. "IsNotNull" is not working.. I wanted to show only records with value (date). Thank you.
Hello all, How to filter (date field) blank/no value of a query.. "IsNotNull" is not working.. I wanted to show only records with value (date). Thank you.
bob fitz AWF VIP Local time Today, 21:17 Joined May 23, 2011 Messages 4,780 May 7, 2024 #2 Try Is Not Null
C CJ_London Super Moderator Staff member Local time Today, 21:17 Joined Feb 19, 2013 Messages 17,130 May 7, 2024 #3 Show your code since what you show is not valid
M moi Member Local time Tomorrow, 05:17 Joined Jan 10, 2024 Messages 273 May 7, 2024 #4 bob fitz said: Try Is Not Null Click to expand... Thanks bob fitz..
M moi Member Local time Tomorrow, 05:17 Joined Jan 10, 2024 Messages 273 May 7, 2024 #5 CJ_London said: Show your code since what you show is not valid Click to expand... Thank you, it sorted out by bob fitz.
CJ_London said: Show your code since what you show is not valid Click to expand... Thank you, it sorted out by bob fitz.
E ebs17 Well-known member Local time Today, 22:17 Joined Feb 7, 2020 Messages 2,212 May 7, 2024 #6 Code: WHERE DateField > 0 In contrast to the suggestion with NOT, index use is possible here, and index use should always be kept as open as possible in the interest of good performance. 0 corresponds to 1899-12-30 and implies that dates used are greater than this date.
Code: WHERE DateField > 0 In contrast to the suggestion with NOT, index use is possible here, and index use should always be kept as open as possible in the interest of good performance. 0 corresponds to 1899-12-30 and implies that dates used are greater than this date.