Public Shared Function GetHistoryFieldDescriptorByDisplayName(ByVal HostFramework As Act.Framework.ActFramework, ByVal sDisplayName As String) As Act.Framework.Histories.HistoryFieldDescriptor
'------------------------------------------------------------
' Check all other fields in the GetNoteFieldDescriptors
' And return the One where sDisplayName = cField1.DisplayName
'----------------------------------------------------------------
For Each cField1 As Act.Framework.Histories.HistoryFieldDescriptor In HostFramework.Histories.GetFieldDescriptors()
If sDisplayName.ToUpper = cField1.DisplayName.ToUpper Then
Return cField1
Exit For
End If
Next
Return Nothing
End Function

Re: Retrieving History Field Descriptor

Thank you Jim. That is a great way to get the names of the descriptors. In the past, we had to put TBL_HISTORY. in front in order to get the descriptor. However, when retrieving the history descriptors, supplying the field name only seems to do the trick.