BOFocus – Crystal Reports Tips – Tricks – Tutorials

Crystal Reports - How-To's

How to select / display null / blank dates (write)

At some point you may need to check if a date field is blank. A simple way of doing this is creating a formula to return a true/false value if the field is null/blank.

If date
({date_field}) = cdate(0,0,0)
Totext({date_field}) = “” Then True Else False

Tagged , , ,

One thought on “How to select / display null / blank dates (write)

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>



Formula comments are notes included with a formula to explain its design and operation.

Comments begin with two forward slashes (//) and are followed by the text of the comment.