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 have a dbf with a field named "ppa" .the type of ppa is double. users enter number (for example 0.023) in a textbox and select the dbf in a combobox . then click Run and program multiply 0.023 with each number of ppa and save the result in another field . what objects do i need for programming ? How can i do this ?

share|improve this question
Is this a GIS question at all...or a pure programming? You can read and edit a "DBF" in .Net/Java and other languages...why ask this question in a GIS forum? – ujjwalesri Dec 6 '12 at 7:19
ppa is calculated from Geoprocessing in ArcGIS .I have to do it in ArcGIS – wetland Dec 6 '12 at 7:23
But... What do you want? You want a script in python or maybe a add-in .. there are a lot of possibilities.. – Katah Dec 6 '12 at 15:23
thanks katah . i want add-in – wetland Dec 6 '12 at 15:26

Why not use a Python script tool or a ModelBuilder model for this? Take advantage of the existing geoprocessing framework and save yourself a lot of code.

All you would do is set up your parameters (input table, input float value) and set up Calculate Field in the script/model to use the entered parameters, then double-click the tool/model from ArcToolbox to bring up the user interface, enter the values and click OK. About as simple as it gets really.

Also, if you run the tool/model from an MXD containing tables, it will automatically populate the input table parameter dropdown box with a list of available tables in the document.

share|improve this answer
thanks @blah238 . i'm creating certainty factor model tool using c# and arcobject . it's a part of certainty factor model . – wetland Dec 6 '12 at 16:04
That doesn't mean much to me, so I guess the point still stands. Did you know that you can call geoprocessing tools, including custom script tools and models from ArcObjects? – blah238 Dec 6 '12 at 17:15
See also: Using geoprocessing to develop applications – blah238 Dec 6 '12 at 17:18
thanks blah238 i try it . – wetland Dec 6 '12 at 17:42

Your Answer


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.