When you use Web services and databases as data sources for InfoPath forms, master/detail sections are created automatically when you drag fields from a data source onto your form, such as tblOrders and tblOrderDetails, which have been used in prior chapters.
Master/Detail sections are created by two basic methods:
Dragging and dropping a Master/Detail control onto the form.
Dragging on two or more tables as mentioned in the last paragraph.
Using either of these methods creates a repeating table as the master section and a repeating section for the detail section. When created, a field (or fields) needs to be specified to link the two sections.
3.137.172.115