Display Zero Instead of Null in a Microsoft Access Report
Question details
Display a zero or zero percent in an Access report when a numeric field contains Null, without unwanted formatting or data-type changes.

- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- A report contains a numeric field that can have Null values, and the user wants those values to appear as 0 or 0%.
- Observed behavior
- The report displays a blank for Null, while an IIf expression may produce unwanted numeric formatting or data-type changes.
Open the report in Design view and identify the numeric text box that displays the blank value. Confirm whether you want to change only its appearance or supply a zero for a calculation.
Use the report control's Format property to display Null as zero
Use this approach when you want Null values to appear as zero without changing the underlying data.
An Access numeric format can contain four semicolon-separated sections for positive, negative, zero, and Null values. The fourth section supplies the text displayed for Null.
In the Navigation Pane, right-click the report and select Design View.
Select the text box that displays the field, then choose Property Sheet on the Design tab or press F4.
On the property sheet's Format tab, enter 0;-0;0;"0" in the Format property. To display percentages instead, enter 0%;-0%;0%;"0%".
Save the report and switch to Report View or Print Preview. Check both Null and non-Null values to confirm the display.

Replace Null with zero in the report's record source
Use Nz in a query when the report needs an actual zero value for an expression or calculation.
Review exported Access report data in WPS Spreadsheets
WPS Office is a free, lightweight, easy-to-use alternative for working with exported spreadsheet data. Its familiar interface and Microsoft Office format compatibility make it easy to move Excel files into WPS. It does not fix Access report formatting or replace Access database reports.

Frequently Asked Questions
Where is the Format property for an Access report field?
Open the report in Design View, select the field's text box, and press F4 to open the Property Sheet. Find Format on the Format tab.
How can I display a Null percentage as 0%?
Set the numeric text box's Format property to 0%;-0%;0%;"0%". The fourth section displays 0% when the value is Null.
Does changing the Format property turn Null into zero?
No. It changes only what the report displays. Use Nz([FieldName], 0) in the report's record source if an expression needs a zero instead of Null.
Why does my field still appear blank after I set the Null format?
Check that you selected the text box bound to the numeric field and entered the format in its Format property. A zero-length string is not the same as Null, so it may need separate handling in the record source.




