Quantcast
Channel: InfoPath 2010 – ..:: I like SharePoint ::..
Viewing all articles
Browse latest Browse all 23

InfoPath 2010/2013: Concat repeating table fields into one field with delimiter

$
0
0

Expect that you will create a summary section of a repeating table. In this sample we want to get all first names of a repeating table and want to use a semicolon as delimiter. We will use a calculate value to store all this names into one field. The result looks like this:

We just need some xpath values to achieve this goal.

xdMath:Eval(xdMath:Eval(my:Persons/my:Person, ‘concat(my:FirstName, “;”)’), “..”)

Just add this xpath code to a calculated value and set your values. As delimiter we use ; and concat it with the field my:FirstName. To get all values and not only the first one we need the math function eval. That’s it.


Viewing all articles
Browse latest Browse all 23

Trending Articles