Pimplebutt

Navigate from an IFeature to an IDisplayTable...

Discussion created by Pimplebutt on May 23, 2011
Latest reply on May 24, 2011 by Pimplebutt
My environment...
   Visual Studio 2008
   ArcEngine 9.3.1
   Visual Basic .NET

Scenario:
  A parcel layer is loaded in the map control, and that comes from a FileGeoDatabase.
  Then vb.net code links the parcel layer's itable to an attribute table on SQL server called GisMapData.

When and end user double-clicks on a parcel feature on the map, we have a method that returns an IFeature representing the feature that was clicked.

The problem is, I need to be able to obtain attribute values from the GisMapData table, and I can't figure out how to get from IFeature to IDisplayTable.

Is that even possible?

I've spent several hours researching, including the links shown here, and I can't find a way to do it.


http://forums.arcgis.com/threads/9818-Get-a-value-from-a-joined-field?highlight=row+join+table

http://resources.esri.com/help/9.3/arcgisengine/java/doc/2c7ddf42-3ca1-11dc-9d01-ed03847c0665.htm

http://edndoc.esri.com/arcobjects/9.2/ComponentHelp/esriCarto/FeatureLayer.htm

Outcomes