10.4. Merging Data from Separate Forms
The last task to talk about is the ability to merge data from multiple forms. This is extremely useful when you have data that you want to accumulate into one form such as expense sheets, sales figures, and in the case of this chapter, the aggregated absence requests. To accomplish this, you will need to have published the form.
Next, you need to choose Tools
Form Options... when in design mode. On the General page, you will see the choice of Enable Form Merging. You need to check that choice, as displayed in Figure 10-20.
Figure 10.20. Figure 10-20
Now you are ready to merge forms.
10.4.1.
10.4.1.1. Try It Out: Merging Data from Separate InfoPath Forms
To merge data from separate InfoPath forms, you must first fill out the forms with separate data:
Fill out the form first using John Doe as the employee.
Fill in the Start Date, End Date, Type of Absence, and finally the number of hours absent.
Save your form. In this case, the first form has been saved as JohnDoe.xml, as shown in Figure 10-21.
Figure 10.21. Figure 10-21
Close the form.
Open the second form by double-clicking the template once again.
Fill out the form for Jane Doe this time.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access