-
The name/value pairs in your drop down list must be stored in some kind of data source (not done manually). See this post on how to do:http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=1258 .
After you have stored your name/values in a data source (XML, database, etc.) you can just query the data source to find the maximum node from there. So ...
-
Not without using code. At least, not that I know of.
---------------
Matt Faus
-
Gotta love those 296 character URLs!
---------------
Matt Faus
-
That means that with your query statement you are not retrieving the node. Your XPath looks a little screwy, try something more like this:
GMSRef = XDocument.DOM.selectSingleNode(''/my:myFields/my:group3/my:Date'');
---------------
Matt Faus
-
If you are using JScript to clone the section and insert it you will want to use .cloneNode(false). The false means that you will be cloning without ''deep'' mode. However, when you clone using this method you will have to manually .appendChild() all of the children of the section that you want to see displayed. Alternatively, you can go ahead ...
-
Man, Patrick is in a silly mood today - maybe because it's friday!
quote:Q: Why can't Microsoft explain things better?
Patrick: Because they are hairless mole rats?
---------------
Matt Faus
-
I used this tutorial when doing something similiar - it helped a lot!http://www.infopathdev.com/howto/tutorials/default.aspx?i=d663d7df90e94e65abb02632966e8127
Using the index that you create with that tutorial it should be easy to reference which repeating section you're currently on, and then reference the nodes within this repeating section to ...
-
Adam,
Another (and I think easier) solution to this problem uses JScript and a nested DOM structure to accomplish the same thing (albeit, losing a lot of performance). To get started check out this threadhttp://www.infopathdev.com/forums/topic.asp?TOPIC_ID=1076 and then stay tuned in the next couple of days for a new How-To article addressing ...
-
Why'd you buy a book about WWF? I have a cousin that could tell you all you would ever want to know about the World Wrestling Federation.
---------------
Matt Faus
-
http://www.mattfaus.com/misc/rules.jpg
---------------
Matt Faus