I'm using InfoPath 2010 to customize a SharePoint 2010 list form. The Infopath form shows data from two SharePoint lists, a Parent list and Child list. The Parent list is the primary data connection. The Child list is a repeating table bound to a secondary data connection. I would like to add an "Open" link to each row in the repeating table that links to the full child record.
The link would be something like http://myserver/_layouts/listform.aspx?ListId={LIST_GUID}&ID=THE_LIST_ITEM_ID.
To do this I bascially want to add a column to the repeating table and use XPath to generate the link tag but I can't figure out how to do that.