Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

before I start you should know that I am a bloody newcomer when it comes down to coding. I am sitting on some university tasks regarding VBA and ArcGIS: My next 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. What I would love to do is load a kind of LIST of all rows and be able to click on the specific row I want to edit. Feel free to post easier ways to get there.. as I said I am extremely new to the world of coding ;-)

Thanks everyone

Bill

share|improve this question
2  
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

1 Answer 1

are you 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
2  
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!!! –  TimothyDalton Mar 9 '12 at 18:10
    
Maybe start here: gis.stackexchange.com/questions/17859/… ... sounds like you will probably want to write an add-in in C#, VB.NET or Java. –  blah238 Mar 12 '12 at 2:02

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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