Managing Repeating Data with Code, Part 2: Use a Repeating Table

In case you didn't read the previous entry in this three-part blog series, one way to manage repeating data with code in InfoPath (and displaying this data to the user) requires nothing more than a listbox and a simple code-behind method that adds a repeating element to the form's data source for each piece of … Continue reading Managing Repeating Data with Code, Part 2: Use a Repeating Table

Managing Repeating Data with Code, Part 1: Use a ListBox Control

I have often encountered a very biting separation between repeating element controls in InfoPath, and code that manages the contents of these repeating elements. The problem Abstract: An InfoPath form presents the user with a search box and displays the results of the search in a meaningful way.  This is used for quick "lookups" while the … Continue reading Managing Repeating Data with Code, Part 1: Use a ListBox Control

InfoPath 2010 Validation in Repeating Tables – Check for a Duplicate of a Single Value

The problem: I have a repeating table that is populated by code and contains a boolean value.  The boolean value represents whether or not the row is "selected."  I want a user to be able to set ONLY ONE of the boolean values to true and thus "select" only one row; if more than one … Continue reading InfoPath 2010 Validation in Repeating Tables – Check for a Duplicate of a Single Value