Display the same repeating table in different places in InfoPath

by S.Y.M. Wong-A-Ton

Learn how you can display data from a repeating table in other repeating tables that are located on different places on an InfoPath form.

There might be times when you would like to enter data in a repeating table on an InfoPath form, and then take this data and display it in another repeating table either on the same View or a different View.

I’ve previously created an InfoPath video tutorial that explains how to work with Views in InfoPath.

A View is not only a canvas on which you place controls, but you can also see it as a window into the data source of an InfoPath form template.

This means that you can have multiple controls, which include repeating tables, on a View pointing to the same data in the data source of an InfoPath form template.

If you bind multiple repeating tables that are located on the same View to the same nodes in the data source, InfoPath will display an icon indicating that the fields in the repeating tables are referring to the same data. This is not an error, it is just for informational purposes (see Figure 1).

Repeating table fields displaying duplicate data in InfoPath
Figure 1. Repeating table fields displaying duplicate data in InfoPath.

To display the same data in a repeating table on different places on an InfoPath form:

  1. From the Controls task pane, add a Repeating Table to your InfoPath form template.
  2. From the Data Source task pane, drag the repeating node of the repeating table you just added, drop it on the InfoPath form template, and select Repeating Table from the context menu that appears. Alternatively, you could create a second View, and repeat this step to add a repeating table that contains the same data as the repeating table of step 1 to your InfoPath form template

Your InfoPath form should now display the same data in multiple repeating tables on the form, and when you enter data in one repeating table, the same data will appear in the other repeating table on the InfoPath form.

 Subscribe (RSS | Email)

Related Posts

Comments to this post were closed 30 days after it was published.

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 of S.Y.M. Wong-A-Ton. Usage of 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, S.Y.M. Wong-A-Ton.

Working with InfoPath