Searching for relate cursor example in Python

Discussion created by hcopeland on Jul 24, 2011
Latest reply on Jul 26, 2011 by hcopeland
Hi Folks,
I've searched the archives and ESRI help for example code that does a relate using cursors and can't seem to find one. Here's my problem. Perhaps someone can share code or give an example of how you would code this? It seems like this should be simple enough...

I have a ArcGIS data table with an id code "parcelid". I thought that I would use a SearchCursor to walk through each row and then relate through "parcelid" to a featureclass to grab the records that match that parcelid. I then need to do a series of calculations on fields in the table and featureclass and put the result in a new table.

Any help would be greatly appreciated! Thanks, Holly