Date on query

moi

Member
Local time
Today, 17:38
Joined
Jan 10, 2024
Messages
273
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.
 
Show your code since what you show is not valid
 
  • Like
Reactions: moi
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.
 

Users who are viewing this thread

Back
Top Bottom