Date format if date is blank

J

jwr

In queries, if date field is blank, what criteria do I type so that only
information with a valid date will print?

thank you,
JR
 
J

Jeff Boyce

Brian's response works if your "date field" is actually an Access
Date/Time-typed data field. Your post didn't mention what data type your
"date field" actually is. If it is a text field, holding something like
"20050822", you might also need to test for a zero-length string ("").

Good luck

Jeff Boyce
<Access MVP>
 
J

jwr

I have typed If Null in the criteria of my date field and I am getting data
type mismatch. The field are Date/Time fields.
 
Top