94 reputation
16
bio website
location
age
visits member for 1 year, 9 months
seen Dec 6 '13 at 17:10

Apr
9
awarded  Notable Question
Dec
6
comment Help with ArcObjects language to open or access a shapefile?
Thank You so much!!
Dec
6
asked Help with ArcObjects language to open or access a shapefile?
Jul
25
awarded  Popular Question
May
28
revised Python Code: “Compare two fields and select missing records”
added 17 characters in body
May
28
comment Python Code: “Compare two fields and select missing records”
No, not empty one layer has 1265 records and the other layer 741 records there is exactly 524 missing records. When I put the print x in it gave me an error message on line 40. Syntax error. The switch selection loop statement. Look above to see where I put the print x.
May
23
comment Python Code: “Compare two fields and select missing records”
Sorry, but there was no new layer that was created and it still gave no sign of where the problem is and why it keeps selecting more records than are missing. I just realized I was putting in your name in front of message wrong.
May
23
comment Python Code: “Compare two fields and select missing records”
Sorry, but there was no new layer that was created and it still gave no sign of where the problem is and why it keeps selecting more records than are missing.
May
23
comment Python Code: “Compare two fields and select missing records”
Sorry, it didn't work. It should have only selected about 100 and it selected 800. It still is selecting records that are in the table. It should only be selecting those that are missing.
May
23
comment Python Code: “Compare two fields and select missing records”
Thanks, Sorry I misunderstood.
May
22
comment Python Code: “Compare two fields and select missing records”
@PolyGeo No, How do you do that??
May
22
comment Python Code: “Compare two fields and select missing records”
So I did try to drop the Switch selection but it still selected records that were not missing????
May
22
asked Python Code: “Compare two fields and select missing records”
Apr
25
awarded  Editor
Apr
25
revised Error: Exception Raised on the “for row in rows” command line?
deleted 10 characters in body
Apr
25
comment Error: Exception Raised on the “for row in rows” command line?
I looked on Desktop Help and it looks like I have the SelectLayer typed right. I'm not understanding what I'm missing.
Apr
25
comment Error: Exception Raised on the “for row in rows” command line?
Now, I got it to get at least down to the SelectLayerByAttribute line. It's giving me an invalid expression. So I have that line of code typed out wrong right?
Apr
25
comment Error: Exception Raised on the “for row in rows” command line?
So, to fix this would I also reference the field in the same area and then add an IF statement?import arcpy, traceback FRows = arcpy.SearchCursor(flayer) ARows = arcpy.SearchCursor(alayer) ffields = arcpy.ListFields(flayer, "", "FLAG") afields = arcpy.ListFields(alayer, "", "TFLAG") FList = [] AList = [] for row in FRows: for field in ffields: Fvalue = row.getValue("FLAG") FList.append(str(Fvalue)) for row in ARows: for field in afields: Avalue = row.getValue("TFLAG") AList.append(str(Avalue))
Apr
25
comment Error: Exception Raised on the “for row in rows” command line?
@blah238 Yes, it is. My boss wanted us to make sure people know what folder to not get into. LOL I actually fixed the Listfields problem. My row in FRows command line is still not working. I'm thinking it's missing an IF. When I add the script tool to a toolbox in ArcMAP with no parameters. I get Error:999999????
Apr
25
asked Error: Exception Raised on the “for row in rows” command line?