I am new to GIS and Python is not my forte, so I am looking for some help. Ideally, what I am trying to do is create a tool that allows the user to select an address from my Address points layer. I need to select values from multiple fields: STREET_NUMBER, STREET_NAME and STREET_TYPE. What I really need help with is building my expression. Here is what I have so far:
# Import system modules
import arcpy
from arcpy import env
# Set workspace
workspace = r"O:\Users\Student\Scratch\SC_Test.gdb"
# Set variables
stNum = arcpy.GetParameterAsText(0)
stName = arcpy.GetParameterAsText(1)
stType = arcpy.GetParameterAsText(2)
# Make layer from feature class
arcpy.MakeFeatureLayer_management("Address", "add_lyr")
arcpy.SelectLayerByAttribute_management("add_lyr", "NEW_SELECTION", "STREET_NUMBER" = stNum)