Reporting- How to handle empty data result from applied expressions in the Export Report gp tool?

236
0
11-04-2021 06:20 AM
JamiePetersen
Occasional Contributor II

When the Export Report geoprocessing tool is run from a script or model and an expression is supplied, is there a pretty way to handle cases where the expression returns no results?  I am using model builder and iterating polygon features and reporting on point features within each polygon.  Currently, when there are no points in a polygon, the report runs with no detail.  I would like the report to say "No records found" in the details region other than just blank whitespace.  A "Default Detail" property.

0 Kudos
0 Replies