You searched for the word(s): 2
-
Hello,
In your code check once the XPath of your field. XPath should be correct otherwise it won't work.
node.selectSingleNode("XPath of your field")
If you are using InfoPath 2007 then,
node.selectSingleNode("XPath of your field", this.NamespaceManager)
-
Hello,
Here is the link regarding XPathNavigator,
http://support.microsoft.com/kb/301111
We can use EventManager in VSTA.
-
Hello,
After closing the form you are trying to delete the old file. Can you change close the form code after deleting the old file then it will work.
Whenever you are trying to in one function create and another function try to delete it won't accept right. If you want to do this operation one after another, you have to use msxml2 ...
-
See a screen dump of my Infopath 2007 File that is working well except it returns all records from the line(s) (below thje blue line) that is a repeating table from a Secondary Data File.
All I want to do is filter the data shown in the Repeating Table to only show records that match the concat Full name which ...
-
With regard to your second question (deleting rows), you can place a button in the repeating table that will handle deletion. The button's event handler will look something like this:
Sub CTRL5_5_OnClick(eventObj)
' Write your code here
End Sub
eventObj.Source is a reference to the node in the repeating group ...
-
It still fails. I don't understand why when I comment out the "if submitxmldoc(strUrl) then" and "end if" that it deletes the file without a problem. Its seems as if the msxml2 is failing when I use it twice in succession. The submit and delete functions work fine independently, but when run together it gives me the ...
-
When you insert a new row into the table, the row is added to the end of the table, right?
If so, you should be able to use
XDocument.DOM.selectSingleNode("/dfs:myFields/dfs:dataFields/d:q_inflow_entry[last()]")
to access the last row.
-
Hi,
Once replace the code line where you are getting error with the following.
objXmlHttp.open("DELETE", strurl, False, UserName, PWD)
-
Hi,
I have tried this by setting the format to auto and its working fine for me. Once try by setting the post back settings to Always in the Browser forms tab of text box properties.
-
Hi, I think I have searched this forum for days to get an answer to my problem. I went through most of the posts in which looping through a repeating table was discussed, checked position() function. I have checked the link http://www.infopathdev.com/forums/p/5091/19631.aspx#19631 and tried to use node.selectSingleNode in ...