How to stop output of empty feature datasets with model

Discussion created by mcrow83 on Jul 27, 2011
Latest reply on Jul 28, 2011 by mcrow83
I have set up a simple model that will select features in a feature class (personal geodatabase) based on an expression and then output the selected features into a new feature class.  I have set up an iterator so that I can select the feature dataset and it will run the above described process on each feature class in said dataset.  The problem is that the model will create an output feature class whether the select criteria was met or not.  In other words, whenever there is a feature class that does not meet the criteria, nothing is selected, then it creates an empty feature dataset.  I want to either avoid the creation of these empty datsets, or delete them on the back end.  I can't figure out how to do either in model builder (I don't do code...sorry).  Image attached...I would greatly appreciate some help with this one.