Good Afternoon Everyone,
I'm relatively new to InfoPath development but was able to find some older articles about using a double eval statement along with concat to combine data from a repeating group and field.
Under Fields I have a group called Customer and under that group I have a repeating group called Orders with a repeating field called OrderID. Below is the calculation that I'm using which combines the data from the repeating field but only puts the , at the end of the string.
eval(eval(.., 'concat(., ", ")'), "..")
Here is an example of the output: ORD1 ORD2ORD3,
If you notice there is a space between the first two orders but then no space with a coma at the end. I know I had this working but now it doesn't and I'm at a lose and my search has revealed little information on this so I hope someone can help me out!
Thanks,
Jody