My users use Excel to come up with some ad-hoc lists of buildings we own. I'm building an InfoPath form to manage contracts on those buildings. I'm looking for a way to let my users specify the buildings they need in Excel, and paste that list into the InfoPath form Repeating Table control.
The table has multiple fields; the users would select the Building ID column in their spreadsheet, paste it into the Building ID field in the Repeating Table, and then the InfoPath form would look up the remaining building info from the datasource bound to the control, using the Building ID as the key.
The Repeating Table lookup part is currently working: the user can enter (by typing or pasting from Excel) a single Building ID, hit Tab, and the table looks up the rest of the info. Then they can insert a new row, and enter the second building ID, lather, rinse, repeat. This is fine for a handful of buildings -- but not for dozens or hundreds. So I'm looking for a way to let them paste in a list, and fill out the table from there.
If they can't paste directly into a Repeating Table, could I have them paste into a multiline Text control, and then parse that with an XPath expression? What would that XPath look like? One final limitation: no code-behind C# or VB -- we've decided for the moment that the logistics of deploying forms with code-behinds is too much for the current project.
Any help appreciated...