Hi All,
I'm stumbling over something quite simple in other programming environments. My question is this: How can I obtain the 'option' in an option/value pair in an InfoPath Drop-Down List Box I call ddlPropertyName?
I know how to get the 'value' for my PropertyNumber text box like so:
Dim nodePropertyName As IXMLDOMNode
nodePropertyName = thisXDocument.DOM.selectSingleNode("/my:myFields/my:grpPropertyName/my:ddlPropertyName")
If Not nodePropertyName Is Nothing Then
thisXDocument.DOM.selectSingleNode ("/my:myFields/my:txtPropertyNumber").text = nodePropertyName.text
End If
Now, how do I get the displayed 'option'?
thisXDocument.DOM.selectSingleNode("/my:myFields/my:txtProperty").text = nodePropertyName.????
Thanks in advance,
Arnold