-
Sorry,
I set a Wrong url.
try this onehttp://msdn.microsoft.com/library/en-us/odc_ip2003_bk/html/officeinfopathdevelopingsolutionsch5.asp?frame=true
erwin
-
Well, sorry we couldn't figure it out through the forum, but I'm glad it's working now. Greg is quite a whiz.
Let us know if you have any other questions!
---------------
Matt Faus
InfoPath Dev Texas
-
Matt, I gave that a try and got an error indicating something about the action not working on an attribute. Simply because of a very near deadline I had to solicit the professional services of Atonomy Systems. Greg Collins wrote some code that used appendChild and employeed some other methods. I only mention this to provide anyone who reads this ...
-
Thanks MFaus,
I probably should of explained it clearer. What I am trying to do is suppose I've created the following data fields
myFields
Group1
G1Field1
G1Field2
Group2
G2Field1
G2Field2
How do I use code to run through this structure and extract the field name (ie, G1Field1, G1Field2) one by one. I do not want the data ...
-
Using VB.Net
I query a SQL table to populate a repeating section.
If a user changes a value in a dropdown listbox, I use OnAfterChange to
change another value in the current record. That seems to work fine for only
the first record.
Also, when I run the query, the OnAfterChange fires many times as the
query returns records.
I want the ...
-
If everything is working except you are switching to a different page when you don't want to, you can just take that line out of the code (or rule). After that simply copy+paste everything on the second page and put it on the page that you want everything to stay on. Am I understanding you correctly?
The LIMIT function would go in the code ...
-
I'm not sure how you're wanting to transverse the nodes, but you might be able to use the wildcard selector to accomplish this with XPath. Check this out:
child::* Selects all children of the current node
http://www.w3schools.com/xpath/xpath_axes.asp
---------------
Matt Faus
InfoPath Dev Texas
-
To look for a specific ID you could use an XPath search, like this:
var prNum = prDom.selectSingleNode(''/dfs:myFields/dfs:dataFields/dfs:PR[@Name = 'NAME_OF_FORM'/@ID'').text;
---------------
Matt Faus
InfoPath Dev Texas
-
To create a custom submit button you can put in a plaing button and put the submit code in via Edit Form Code on the button.
In the custom submit button code you can put whatever needs to happen before submitting and then at the bottom put XDocument.Submit(); to submit the form just like a regular submit button would. You can use the line I ...
-
If you are using the connection to a database it might be that the nodes you are trying to access are attribute nodes. This would require you to put a '@' in front of the name to specify them. Try this:
var oRow = ...