G Guest Apr 3, 2007 #1 I want to show missing values in a report as a dash instead of a blank. How do I do this?
J John Spencer Apr 3, 2007 #3 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? Click to expand... Click to expand...
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? Click to expand... Click to expand...
M Marshall Barton Apr 3, 2007 #4 CAM100z said: I want to show missing values in a report as a dash instead of a blank. How do I do this? Click to expand... 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: @;"-"
CAM100z said: I want to show missing values in a report as a dash instead of a blank. How do I do this? Click to expand... 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: @;"-"