I'm using InfoPath 2007 and connecting to SharePoint 2010. I have created a secondary data source by pulling in the XML of the SharePoint list.
I'm trying to concatenate all email addresses from the list into one field. I'm using the following xpath:
eval(eval(row, 'concat(xdXDocument:GetDOM("Group1")/xml/rs:data/z:row/@ows_Email, "; ")'), "..")
It's moving through the entire list (which is 6 items), but it keeps repeating the email from the first entry on the list. What am I doing wrong?
Thanks for any help!