You searched for the word(s): 2
-
Hi,
Since it is an Xpath issue we cant figure it out without knowing your main schema.So provide your schema so i can definitely help you.
-
Hi Jimmy,
this is my code now and it works very fine now...
[quote]
Sub CopySmartKey_OnClick()
Dim objXMLNode
set objXMLNode = XDocument.DOM.selectSingleNode("/my:myFields/my:SmartKeyValue")
XDocument.View.SelectText(objXMLNode)
...
-
It appears that you are using the debugger here. Could you tell us on which line of code the error is occurring?
-
Could you show us the line of code that is generating the error, and perhaps a bit more of the code above and below it?
-
Hi,
Before getting the value of a node, verify that node is existing or not. Check rows.Current.SelectSingleNode( "@Person_Responsible", NamespaceManager) is null or not. If it is not null then go for rows.Current.SelectSingleNode( _
...
-
Please try changing line 25 to
XDocument.View.SelectText(objXMLNode)
that should do the trick.
-
Hello there, I have 3 connected dropdown lists in my Infopath form. Selecting values from the first dropdown filters the entries in the second one and selecting a value in the second one will filter the entries of the third one. When selecting a value the second dropdown I get the "Object reference not set to an instance of an object" ...
-
[quote user="Jimmy"]
In all likelihood the error you're getting is the result of invalid XPath in line 24. In an earlier post you had a node name my:SmartKey, and in this post you have my:SmartKeyValue. Which one is it? And in either case, unless you changed it from the default, the 'F' in my:myFields ...
-
Hello,
I don't think I goth the wrong Xpaths. But here's a picture of what my secondary data source loooks like
I'm not really sure why I'm getting that error.
-
In all likelihood the error you're getting is the result of invalid XPath in line 24. In an earlier post you had a node name my:SmartKey, and in this post you have my:SmartKeyValue. Which one is it? And in either case, unless you changed it from the default, the 'F' in my:myFields should be capitalized.