-
Please check the rules that you have on your fields. The error suggests that a rule is setting the value of a field, which is again causing a rule to set the value of the same field, ad infinitum. You may need to add a condition to the rule to stop it from reevaluating endlessly.
-
Are you sure it's returning all the rows, and not just all the ones that match the Div_Desc value?
It looks like the problem is this part:
([WWALPH] like '" + querySeed + "%')
When querySeed is blank, this will evaluate to:
([WWALPH] like '%')
which will match every row in the table. You ...
-
Please try this:
String xpath = "/my:myFields/my:group1/my:group2";
XPathNavigator navigator = MainDataSource.CreateNavigator().SelectSingleNode(xpath, ...
-
You should use Facility as the Display field in your dropdown and ID as the Value field, then create an expression box with an XPath formula like this, replacing the bold underlined parts:
xdXDocument:GetDOM("TestTable1")/dfs:myFields/dfs:dataFields/d:TestTable1[@ID = xdXDocument:get-DOM()/my:myFields/my:field1]/@Cost
The first ...
-
Please don't post the same question in multiple forums.
You can use simple XPath selection to get the last node of any repeating section, so for example if I wanted to access field1 in the last group2 group (and group2 is repeating) I would use in C#:
XPathNavigator lastField1 = ...
-
You can hide any control by placing it inside a Section control (the section can be bound to the same node as the control inside it), and using conditional formatting to hide the section control.
-
If you're not making a browser-enabled form, perhaps this blog post would be of some help:
http://www.infopathdev.com/blogs/jimmy/archive/2009/03/06/automatically-adding-rows-to-repeating-sections.aspx
-
Conditional formatting doesn't actually have any effect on mathematical calculations. I think that's part of the reason why you're experiencing unexpected behavior.
Could you post your formula in this thread with a little description of the various fields? There may be a way to filter out the blank values from your ...
-
A dropdown list is bound to a single node, and the selected value on the dropdown box is stored in that node. The values, however, must originate from a repeating node somewhere in the form. This is necessary in order to have more than just one option.
When you expand the nodes in the secondary data connection that's connected to ...
-
If I understand the original post in this thread, you want to set the value of a field in the selected row of the master/detail section, correct?
If so, please check out the attached template.
The trick here is that I am using a special formula in a rule on the button to store the current row number in a ...