12 Nov
2001
12 Nov
'01
11:57 p.m.
I call a ZSQL method in python and successfully retrieve the results I want. Then I want to get a list of the field names. I try MyRec = context.GetRecord() print MyRec[0].keys() I get Error Type: AttributeError Error Value: keys I can cycle through the values no problem. I thought the records returned were each a dictionary. Is keys one of those functions that is restricted? How would I get field names? Thank you very much