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 ToolsForm 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.
Now you are ready to merge 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.
Open the second form by double-clicking the template once again.
Fill out the form for Jane Doe this time.
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 JaneDoe.xml, as shown in Figure 10-22.
Double-click the form template you are using one more time.
Locate the forms you want to merge the data for. In this case, it is JohnDoe.xml and JaneDoe.xml, as shown in Figure 10-23.
Click Merge. The data in each of the forms will now be merged into the currently opened form, as shown in Figure 10-24.
3.21.104.183