Building on my previous article, Setting Secondary Data Source Web Service parameters using C# at runtime in InfoPath, this example will demonstrate using a runtime-populated drop-down list in a repeating table to populate other fields in the same row. This technique proves useful when building a table of parts in an order form for a given vendor as an example.
As with most things there is usually more than one way to perform a task, but this article will demonstrate achieving this form functionality by using built-in features of the InfoPath IDE. This example leverages the following:
-
Microsoft Office InfoPath 2003 Service Pack 1 (SP1) Preview
-
InfoPath 2003 Toolkit for Visual Studio .NET
-
Microsoft Visual Studio .NET 2003 (1.1 Framework)
-
-
Web service running on IIS 6.0