Table Editor

Created:1/19/1999
Description:

It is possible to edit features/rows of a table outside of the ArcMap Editor. This sample illustrates how you can extend ArcCatalog with a custom tab view that enables the editing of tables. Using the table editor you can modify row values, remove rows and fields from a table, perform validation on a row, and edit coded value domain fields by their description.

How to use:
  1. Double-click the TableEditor.reg file to add the GxTableView dll to the 'ESRI Gx Tab Views' component category.
  2. Start ArcCatalog and select a table or feature class in the Catalog Tree.
  3. Click the Table Editor tab to load rows into the view. Note that only 600 rows are loaded at a time so that performance is maximized.
  4. Click on a row to edit it, select a column or row to delete it, select a row to validate it.

Application:
ArcMap

Requires: An INFO file, coverage feature class, shapefile, or geodatabase object class to edit.

Difficulty: Advanced


Visual Basic
File Description
TableEditor.frm Registry file that adds the dll to the appropriate component category.
TableEditor.reg Class file containing the PolyLineM commands.
GxUtility.bas BAS module used to retrieve FDO objects from a Gx selection.
TableEditor.cls Class file that implements IGxView to create the custom tab view.
GxTableView.vbp The project file for the table editor.
GxTableView.dll The compiled project.


Key CoClasses: Workspace, GxObject, GxView, Name, Table
Key Interfaces: IGxView, IWorkspaceEdit, ITable, IGxCatalog, ICodedValueDomain, IValidate
Key Members: IWorkspaceEdit::StartEditOperation, IWorkspaceEdit::StopEditOperation, IValidate::Validate, ICodedValueDomain::Name