Conditional field display

D

Duane Hookom

Use a text box with a control source of
=IIf(IsNull([YearCompleted],"", "Date completed: " &
Format([YearCompleted],"dd mmm yyyy"))
 
D

David Frick

I have a field called YearComplete that I want to display in a report.

The YearCompete field is displayed in a text box with special formatting and
is associated with a label.

If the YearComplete field is not null, then the report should look like
this:

Date completed: 21 Oct 1999

However, if YearComplete is null, then nothing should be displayed, neither
the field value nor the label "Date Completed"

Can anyone give me pointers on how to do this?
 

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

Top