I'm struggling to get a search cursor to work on a joined table view.
I've used search cursors before, but never on data that has been joined. Arcpy keeps saying that some of my joined fields don't exist.
I used arcpy.ListFields() and sure enough, the fields are there. Some of them look different though. They look like this:
Shapefile1.FID Shapefile1.name Shapefile1.LPOLY source_id title author
My search cursor code:
searchRows = arcpy.SearchCursor(theJoinedView)
for row in searchRows:
if row.source_id == None:
arcpy.AddMessage(row.Shapefile1.FID)
It says Shapefile1.FID does not exist, when it should. Any ideas?