How to determine if Select By Location returns nothing

Discussion created by GlennK on Feb 20, 2012
Latest reply on Feb 21, 2012 by GlennK
Windows XP Pro SP3
ArcView 10.0 SP2
Python 2.6

I want to do a basic field population by looping through a source polygon feature layer and selecting all target features from the target feature layer that are completely within the current polygon. If the selection returns nothing then I want to do nothing, otherwise I'll do a calculate on the target layer. If I'm not mistaken if I perform a field calculation on a layer with nothing selected, then all features get calculated, right? I really don't want to do that. Any ideas? Thanks!