updating text with attribute data

376
2
12-15-2011 11:37 AM
GinaMartin2
New Contributor
Hello,

I need to grab the data from a field in my attribute data and place this within a text box (it is the entire field of data). I get an error message when trying to use the attached script. It would be most useful if only certain sections in the textbox are updated.

Thanks,
Gina
0 Kudos
2 Replies
JeffBarrette
Esri Regular Contributor
What error message are you getting?

Try:
rows = arcpy.SearchCursor (mapLyr.dataSource)


Jeff
0 Kudos
GinaMartin2
New Contributor
Thanks Jeff, but that suggestion did not work.

I get the following error message "Runtime error <type 'exceptions.RuntimeError'>: ERROR 999999: Error executing function."

Thanks,
Gina
0 Kudos