Select to view content in your preferred language

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

11-04-2021 06:20 AM
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