I am creating a report from ArcMap and I would like for the null value fields to be replaced with either a blank or a 0 , but only in the generated report not in the actual attribute field.
Is this possible and, if so, how would you do it?
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.Sign up to join this community
you can make some computation using the report designer.
Open a report in the Report Designer.
From the Design Elements list, click TextBox and drag the element into position on the report layout.
Enter an expression in the Data Field area in the Element Properties grid. Expressions always begin with an equals (=) sign
In you case, the expression should be something like
=(condition) ? value_if_true : value_if_false =(YourField == System.DBNull.Value) ? " " : YourField =(YourField == System.DBNull.Value) ? 0 : YourField