AnsweredAssumed Answered

Get Value of joined fields

Question asked by michaelforst on Aug 9, 2012
Latest reply on Aug 9, 2012 by jamesfreddyc
Hello,

how get the value of joined attributtes like

string valueCode = m_currentFeature.get_Value(indexField).ToString();


the index of specific joined field in FeatureClass i get with

        public static int FindAttributeIndexWithJoinedFields(frmKarte form, string layerName, string attributName)
        {
            IFeatureLayer actFeatLyr = (IFeatureLayer)form.axMapControl1.Map.GetLayerByName(layerName);

            ILayerFields fields = (ILayerFields)actFeatLyr;

            return fields.FindField(attributName);

        }


Can you help me, please?
Thank you!

Outcomes