Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am a newcomer to coding.

My task is to create a code snippet that enables the user to edit values (rows) in the attribute table. My attribute table consists of points with basic information such as name, address etc.

Can I load a kind of LIST of all rows and be able to click on the specific row I want to edit?

share|improve this question

closed as off-topic by Andre Silva, John Barça, PolyGeo Mar 13 at 21:49

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions seeking help to debug/write/improve code must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Providing a clear problem statement and evidence of a code attempt will help others to help you. See: How to create a Minimal, Complete, and Verifiable example." – PolyGeo
If this question can be reworded to fit the rules in the help center, please edit the question.

I'm confused. If the user is already looking at the attribute table, why can't they just start an editing session and edit the table that way? The attribute table IS a list of rows. It doesn't sound like any more work, unless I'm missing something... – nmpeterson Mar 6 '12 at 22:18

This will depend on whether you are creating this in 9.3 or 10.

In 10, you can no longer code in ArcGIS using VBA. I would create a button that has a user form that opens, and allows the user to select a row and then text boxes that allow them to change what is coded in the fields.

share|improve this answer
You can still use VBA in ArcGIS 10.0, but it will not be available in 10.1. I would definitely not recommend developing new tools in VBA at this point though. Add-ins and arcpy are meant to replace VBA customizations. – blah238 Mar 6 '12 at 22:56
unless it is the only thing that will get you a grade – Brad Nesom Mar 6 '12 at 23:04
It will get me a grade.. :) with which method could I Start the code? Any hints you could provide code-wise?cheers guys and thanks for your help!!! – Timothy Dalton Mar 9 '12 at 18:10
Maybe start here:… ... sounds like you will probably want to write an add-in in C#, VB.NET or Java. – blah238 Mar 12 '12 at 2:02
still there in 10.4 too although it needs to be licensed now – Midavalo Mar 13 at 22:58

Not the answer you're looking for? Browse other questions tagged or ask your own question.