-
Please give this a try:
count(xdXDocument:GetDom("Meetings")/dfs:myFields/dfs:dataFields/dfs:meetings[@MA != preceding-sibling::dfs:meetings/@MA])
-
Sure:
I tried either:
count(xdXDocument:GetDom("Meetings")/dfs:myFields/dfs:dataFields/dfs:meetings/@MA[. != preceding-sibling::xdXDocument:GetDom("Meetings")/dfs:myFields/dfs:dataFields/dfs:meetings/@MA])
Or:
count(xdXDocument:GetDom("Meetings")/dfs:myFields/dfs:dataFields/dfs:meetings[@MA != ...
-
Hi folks,
I was trying to delete the current row in a repeating table using a button in the row itself with an action to run the command:
concat("Delete /xpath=/my:ElectronicChangeControlForm/my:TaskSection/my:TaskTable/my:Task[", count(preceding-sibling::my:Task) + 1, "]")
Which of course tested ok in the InfoPath client, ...
-
You can attach your form by using the Options tab when you hit Reply.
It should be possible to do what you're looking to do, but I'm not entirely clear on what that is.
-
You should be able to do this:number(dfs:dataFields/my:SharePointListItem_RW/my:FirstValue) > number(dfs:dataFields/my:SharePointListItem_RW/my:SecondValue)But have you experienced any issue with the msxsl:decimal-compare? I would expect it to work as you need it to.
-
Could you post the actual formula you wound up with?
-
I was going to use a Sharepoint List to store information regarding repairs. Each unit in a project could have multiple repairs, so lets say 75 units with 10 repairs each. We would then have 5 projects per year, so that would be 3,750 entries per year, and of course could run for multiple years. I was going to create one sharepoint list and ...
-
Hi All,
I have 2 text-boxes(actually they are 2 drop-downs from that are being filled from lists, but it doesn't matter).
After I click a button, I want to compare these 2 text-boxes but a number comparison not a string-compare.
when I click the button, add a rule I can compare these text-boxes but the result is a string compare, even ...
-
Some times you find a solution after posting a question...
I'm posting the answer for other to come, here we go:
1. add a rule for the button.
2, add an action of: "set a field's value" in "rules menu"
3. in field, look-up for the text-box in the main data source.
4. in value(pay good attention here) ...
-
Hi,
The suggested method did not work.
I'm getting an error that a "Node test" was expected.
Also, since it is a secondary source, Infopath added this prefix to the Xpath:
xdDocument:GetDom ("source name")/dfs:......
Are you able to help?
Oren