Hello, I would like to create tool for multiple users with multiple datasets from multiple sources. Each dataset contains the same data, it's just stored differently, mostly just different field names and input locations etc... Is it possible to insert a variable into an Update Cursor to give the tool more flexibility with multiple users? For example:
InAge = sys.argv[1]
rows = gp.UpdateCursor("c:\temp\test.dbf")
row = rows.Next()
while row:
if row.InAge == 25:
row.Range = "Mid"
Will InAge work as a variable? Or will the cursor look for a field called "InAge" ? Is this even possible ? Thanks!