InfoPath Tutorials: Use List Boxes in InfoPath
Learn how to use drop-down list boxes, combo boxes, and list boxes in InfoPath.
Drop-down list boxes
Auto-fill fields in InfoPath from a drop-down list box selection and secondary data source
Use rules and filters on the secondary data source to retrieve information from the secondary data source and fill fields on the form with data related to the selected item in the drop-down list box.
Create a shrinking list in a repeating table in InfoPath
Learn how to use rules and conditions in InfoPath to create a drop-down list box that shrinks in items as rows are inserted into the repeating table that contains the drop-down list box.
Database record selection in InfoPath through a dropdown list box
Learn how to select an item from a dropdown list box, retrieve the database record corresponding to the item, and display the data in fields in InfoPath 2003.
Dynamically fill a drop-down list box in a browser form using another InfoPath form as a data source
Use the FileLocation property of the FileQueryConnection object to switch and point to different XML files when filling a drop-down list box.
Filtered cascading drop-downs in InfoPath browser forms using SharePoint lists and WSS owssvr.dll
Learn how you can use Windows SharePoint Services' (WSS) owssvr.dll and InfoPath's FileQueryConnection to write code that filters SharePoint list data displayed in dependent or cascading drop-down list boxes on an InfoPath browser form in SharePoint.
How to automatically display the first item in a drop-down list box in InfoPath 2003 
This article describes how to automatically display the first item in a drop-down list box that has been populated with values from a data connection to an XML file.
How to simulate Excel's VLOOKUP function in InfoPath to look up data in a secondary data source using rules and filters
Learn how to use rules and filters to look up data in a secondary data source (here: a SharePoint list) when an item is selected from a drop-down list box and create functionality similar to Excel's VLOOKUP function, but then in InfoPath.
Programmatically check whether a value exists in a drop-down list box bound to a SharePoint list using an XPath filter
Learn how to use an XPath filter expression on a SharePoint list to look up a value in a secondary data source to which a drop-down list box in InfoPath is bound.
Programmatically add items to a drop-down list box in InfoPath 2007
Bind the drop-down list box to a repeating node in either the Main or a secondary data source, and then loop through rows of data in another data source to populate the data source that is bound to the drop-down list box.
Combo boxes
Automatically type in and add a new item to a drop-down list box on an InfoPath form
Use a combo box control and a web service to automatically type in and add new items to a list, thereby updating the underlying data store of the secondary data source that the combo box is bound to.
Display a message box if an item does not exist in the list of entries for a combo box
Use a rule to display a message box when an item entered into a combo box cannot be found in a list of valid entries.
List boxes
InfoPath Basics: List control basics in InfoPath
This article explains how to use list controls such as drop-down list boxes, combo boxes, list boxes, and multi-select list boxes in InfoPath.
Programmatically move items between two lists in InfoPath using C# code
Learn how to copy items from a secondary data source to a list in the Main data source of a form and then move items between two lists which are bound to two repeating groups in the Main data source of the form template.
Understanding the Multiple-Selection List Box in InfoPath
Learn how multiple-selection list boxes differ from other list boxes in InfoPath, how they store data, and how you can use this information to apply rules and conditional formatting, or to write code in InfoPath.
Programmatically select all items in a multiple-selection (multi-select) list box
Use C# or Visual Basic code to loop through all of the items in the secondary data source a multi-select list box is bound to, and add each item to the DOM node that represents the multi-select list box.
Understanding the Multiple-Selection List Box in InfoPath
Learn how multiple-selection list boxes differ from other list boxes in InfoPath, how they store data, and how you can use this information to apply rules and conditional formatting, or to write code in InfoPath.
