-
The best way I can picture doing this is to put the entire main data source in a repeating group, and have a non-repeating field outside of the group with a name like CurrentRow. Then you would also put all of your views inside repeating sections that are filtered to only show the row that corresponds to CurrentRow.
Then at the end of the ...
-
Thank you, Jimmy! The value for TRUE is set by an InfoPath checkbox. I set its values to TRUE for checked and FALSE for not checked. Of course, I can set these for any value.
Unfortunately, the formula above populates all the fields with "1" and when I add a step above, repopulates all the blanks with 1, whether the HeaderRow is ...
-
For your first question, I think using the following default value formula for the field should work:
../preceding-sibling::my:repeatingGroupName/my:fieldName
I'd also suggest disabling the control using the condition preceding-sibling::my:repeatingGroupName, so that people can only modify the first row.
For the second question, is there a ...
-
What is the logic you are using to set HeaderRow to true? Typically a "true" value in XML would be lowercase and not uppercase.
Assuming a value of "true" for HeaderRow to indicate it is blank, I think this formula should work:
substring(count(../preceding-sibling::my:Step[my:HeaderField != ...
-
Are you encountering a particular issue? If so, what is it? You shouldn't need anything particularly special for File_Layout, though there's a slight chance that WriteElementString() might not work for File_Layout since it's a group. You may want to try writer.WriteStartElement("File_Layout", ...
-
Hello,
If the form is showing an error while loading, then there is some problem with the data source which is set up to ‘Automatically retrieve data when form is opened’. I'd suggest that you check your data connections and uncheck that option if you don't need to query on load. That will also help if the form is being slow.
What error ...
-
I wonder if you could use a connection to a SharePoint list and use BDC to populate the list? Then you'd have query fields (at least if you are using InfoPath 2010)
Our web service also makes it very easy to query for specific data - free trial here if you are interested.
-
Hello JimiH,
I don't see any reason why it can't be possible. But to make sure I understand correctly, did you mean you're publishing the same form to the second library with different promoted properties? That's absolutely possible.
Jo-Anne
-
I have strange use case where I have repeating rows that are numbered. The users want to delete the number of a row and the row number will remain blank. The subsequent rows will take up the numbering.
I have this working great with the following code:
xdMath:Max(../preceding-sibling::my:Step/my:Op-seq) + 1
(where "Step" is the ...
-
Easiest would be to use qRules - it has this ability and much more - you won't have to write code or deal with CAML. We'll have another free trial of 4.3 up soon that you can try, or email me via the forum if you'd like a trial copy sooner and I can get you one.