agray7501

Generate a list of results from a SelectLayerByAttribute_management query?

Discussion created by agray7501 on May 25, 2011
Latest reply on May 30, 2011 by curtvprice
I am using
arcpy.SelectLayerByAttribute_management(lyr, "NEW_SELECTION", "\"FULLNAME\" ='"+PIN+"'")

to select a property when the user enters a PIN.
only problem is that the PIN looks like '55    A     5', with multiple variations.

There is potential for a lot of human error when entering the PIN.
So, rather than have the user re-enter the PIN over and over until they get it right, I want to produce a list of results the user can pick from.

How do I do that?

Thanks in advance.
Alex

Outcomes