Questions tagged [error-000728]

Use this tag for Questions which are related to the "000728" error returned by an ESRI software code.

Filter by
Sorted by
Tagged with
2
votes
2answers
65 views

Understanding arcpy.CalculateField_management with Join?

I am using arcpy.CalculateField_management to fill a column field with another column values. I have two shapefiles, fishnet.shp and new_run.shp. First I joined both using arcpy.AddJoin_management as ...
3
votes
1answer
164 views

ArcGIS ModelBuilder Add to Join Error [duplicate]

While working with the ModelBuilder, I added 2 columns to the data. After you have done "Summary Statistics" according to the GridID, you know the output product in tabular form. I wanted to print the ...
2
votes
1answer
358 views

Looping through lists with arcpy.AlterField_management?

I can't get my code to run correctly and I'm sure have the logic wrong. I have two lists declared as parameters: one is a list of field names that I would like to change from and the other is a list ...
3
votes
2answers
629 views

Why do I get Error 00728: Field “” Does not exist (occurs running AddField_management & CalculateField_management in succession)

I have a Python Toolbox and want to use the zonal statistics as table function on user-provided polygon shapefiles/feature classes that may or may not have multiple parts. In the code, I add a new ...
2
votes
1answer
583 views

Join CSV file to Shapefile

I am trying to join a shapefile and a CSV file. I have tried Arcpy.AddJoin_management... the error message I receive is that there is no field name for the CSV file. I tried to index it and same ...
2
votes
1answer
151 views

Error Failed to Execute_when trying to join table and Shapefile

I am trying to join a shpfile w/ an excel document. Both the shpfile and table have the same number of rows with matching "Unique_Joiner" columns. Below is the script im running through the IDLE GUI....
1
vote
2answers
2k views

Closing CSV file to read it again? [closed]

Apparently, I cannot close the csv file, so that it cannot be opened to be processed. How can I solve my problem? I get a list (A) from my calculations such that: A = [[1.0,153.0016399,-27.6402685],...
3
votes
1answer
97 views

Defining a required output field parameter for an existing or a new field

I need to define a required field parameter, and I'd like it to work with both existing and new fields, i.e. regardless of whether the field already exists. The problem is, if I enter a new (non-...
0
votes
2answers
150 views

Why does script only work if run twice? [closed]

I have a simple script that I'm running as an ArcGIS tool that adds three fields and then calculates the fields based on expressions that derive information from existing fields. I'm struggling to ...
2
votes
1answer
3k views

Loop through columns Python arcpy.ListFields

I am trying to run a Python script that loops through all fields in my input feature attribute table. I have searched extensively and tried to use arcpy.ListField to work but it seems all people got ...
2
votes
2answers
720 views

Errors using arcpy.CalculateField_management

EDIT: What I forgot to mention when I first had this question is that I was trying to do these calculations on a layer which had joins, BUT where the join was on data that was added from an Excel file....
0
votes
1answer
4k views

Error 000728 field does not exist within table - field already exists

I am running arcpy.AddField_management to add a field called "cnid" and update it with x centroid values. For add.field I get the error "cnid" already exists. I tried print.field name and I cannot ...
4
votes
1answer
6k views

How to Calculate Field in joined table using ArcPy?

I have to calculate a field based on another field in a joined table, but an error occurs: "Parameters are not valid. ERROR 000728: Field !Table_A.field_A! does not exist within table" My code: ...
1
vote
1answer
3k views

What might cause “ERROR 000728: Field <fieldName> does not exist within table” in this code?

I have seen ERROR 000728 several times and I could never figure out why it happens. Here is a snippet from my code: str_Dissolve = arcpy.Dissolve_management(Intersect_str, "in_memory/str_Dissolve",...
1
vote
1answer
591 views

How to batch split feature classes using Arcpy?

I want to bath split analysis tool using Arcpy . I have some feature classes in a feature dataset.I want to Split All of feature classes uisng a shapefile but after split two feature classes, the ...
3
votes
1answer
3k views

Debugging ERROR 000728: Field *fieldname* does not exist within table even though field exists?

I do some script for a shapefile's table. And this script works for 2 fields and do not for other ones, because of: ERROR 000728: Field FID_158_01 does not exist within table But this field is ...