Oct-22-2018, 01:59 PM
HI folks.
I've seen this somewhere, but I can't find it...
I can:
cursor.execute("blah and pharp...
for row in cursor:
print row[0]
print row[1]
but how do I get to use the field names? I think it's something to do with a dictionary?
print row{'field1']
print row['field2']
Thanks.
I've seen this somewhere, but I can't find it...
I can:
cursor.execute("blah and pharp...
for row in cursor:
print row[0]
print row[1]
but how do I get to use the field names? I think it's something to do with a dictionary?
print row{'field1']
print row['field2']
Thanks.