AnsweredAssumed Answered

Another basic query question

Question asked by jpedder on Jul 30, 2012
Latest reply on Aug 3, 2012 by clthompson
I'm having issues substituting a string parameter for a variable

aTeam is a string. The query works when I type the string directly into the query, however when I try to use the var aTeam is fails

 aTeam = row.getValue("Assignments.Team_Name")  rowPeriod = arcpy.SearchCursor(fc5, "Team_Name" =  'aTeam')

I'm sure it's just the placement of the quotes but it's driving me nuts! :)

Thanks in advance