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)
or
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>

GET SOCIAL

QUICK TIP

The Left Outer Join includes all records in the primary table that have an exact match in the secondary table but also all records that don’t have a match in the secondary table. The Left Outer and Right Outer joins are useful when creating reports to find participants without information in their record.

ADVERTISMENT