How do I replace missing values with another character in a Report

C

CAM100z

I want to show missing values in a report as a dash instead of a blank. How
do I do this?
 
J

John Spencer

Or you can use the format property of the control(s) to specify that it show
a dash or whatever other character you want.

For text, set the format to
@;-

For numbers, set the format to
#,##0;-#,##0;0;-

--
John Spencer
Access MVP 2002-2005, 2007
Center for Health Program Development and Management
University of Maryland Baltimore County
..

Rick B said:
Nz([YourFieldName],"-")

--
Rick B



CAM100z said:
I want to show missing values in a report as a dash instead of a blank.
How
do I do this?
 
M

Marshall Barton

CAM100z said:
I want to show missing values in a report as a dash instead of a blank. How
do I do this?


If by "missing" you mean Null, then use a custom format:

For numeric values, use the fourth format setting. E.g.
$#,##0.00;($#,##0.00);;"-"
For a text value:
@;"-"
 

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