How to get blank dates to print as "TBD"

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a report that prints dates (they come in from a table column which is
date/time). In certain circumstances, when the dates are blank, the user
wants me to print "TBD". I have tried various ways to achieve this to no
avail , nothing seems to work. Any help appreciated.
-David
 
Use the Nz function in an unbound text field to replace a null value with
something else.

=Nz([SomeDateField],"TBD")
 
I have a report that prints dates (they come in from a table column which is
date/time). In certain circumstances, when the dates are blank, the user
wants me to print "TBD". I have tried various ways to achieve this to no
avail , nothing seems to work. Any help appreciated.
-David

Simply use the control's format property.
Set the control's format property to:

mm/dd/yyyy;mm/dd/yyyy;;"TBD"

See Access help on Format property + Number and Currency datatypes.

Change the mm/dd/yyyy to what ever other format you wish the date to
display as.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top