InfoPath 2010 Tutorial: What is InfoPath repeating table

In this InfoPath 2010 video you will learn what an InfoPath repeating table is and how an InfoPath repeating table works.

An InfoPath repeating table is a control that you can add to forms in InfoPath Designer 2010. It consists of rows and columns, which is why it is called a "table".

You can learn more about repeating tables in InfoPath from the following video...

In this InfoPath 2010 tutorial video, you learned...

  • What an InfoPath repeating table is.
  • How to add a repeating table to an InfoPath form template.
  • How an InfoPath repeating table works.
  • Where the name repeating table in InfoPath comes from.

InfoPath 2010 video tutorial transcript

First I'll add a repeating table to a form template, and then I'll briefly show you how it works, and finally I'll explain where the term repeating comes from. Here I'm in InfoPath Designer 2010, and I'll add a control called Repeating Table to the form template. Then I'll preview the form.

When the form opens, you'll see that the repeating table is just a table that has columns, one row in this case, and some table cells. If I click Insert item, I can insert a second row, and I can continue adding rows to the table this way. Currently, the cells contain text box controls, in which you can enter data, but these text box controls could also be for example date picker controls or drop-down list boxes; whatever you prefer, or even text.

If we look at the Main data source of the form here to the right, you'll see that if I click on field1, you'll see this field1 highlighted here in the table cell, field2, and field3. These fields are contained within a group called group2 and this group2 represents a row in the repeating table. And this group2 is what repeats. So repeating table is actually a misnomer, because it's not the table that repeats, but the rows within the table. And those rows are these group2 nodes.

I saved a form earlier, and here you can see the raw XML structure that comes out of the form once it is saved. And here you'll see that we've got a group2 node that contains a field1, field2, and a field3. And then here we've got another group2 node that also contains a field1, field2, and a field3. So while these two group2 nodes are different rows within the repeating table, they basically have the same names for their elements, and there is where the term repeating comes from.

See more InfoPath 2010 tutorial videos »

 


Related InfoPath Articles:

 

Copyright: This article may not be used on web sites (whether personal or otherwise), copied, disseminated, altered, printed, published, broadcasted, or reproduced in any way without an expressed written consent. The techniques demonstrated in this article may be used within any Microsoft InfoPath project. This article is provided without any warranties. Copyright for this article is non-transferrable and remains with the author.

InfoPath 2013 Cookbook: 121 Codeless Recipes for Beginners

InfoPath 2013 Cookbook 2: 121 Codeless Recipes for SharePoint 2013

InfoPath 2010 Cookbook: 101 Codeless Recipes for Beginners

InfoPath 2010 Cookbook 2: 101 Codeless Recipes for SharePoint 2010

InfoPath 2010 Cookbook 3: 101 Code Recipes for C# Developers

InfoPath 2010 Cookbook 4: 101 Code Recipes for VB Developers

InfoPath 2010 Cookbook 5: Integrating InfoPath with Excel and Excel Services