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 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.

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:

  1. Fill out the form first using John Doe as the employee.

  2. Fill in the Start Date, End Date, Type of Absence, and finally the number of hours absent.

  3. 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
  4. Close the form.

  5. Open the second form by double-clicking the template once again.

  6. Fill out the form for Jane Doe this time.

  7. Fill in the Start Date, End Date, Type of Absence, and finally the number of hours absent.

  8. Save your form. In this case the first form has been saved as JaneDoe.xml, as shown in Figure 10-22.

    Figure 10.22. Figure 10-22
  9. Double-click the form template you are using one more time.

  10. Pick FileMerge Forms.... The Merge Form dialog box will open.

  11. 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.

  12. Click Merge. The data in each of the forms will now be merged into the currently opened form, as shown in Figure 10-24.

    Figure 10.23. Figure 10-23

    Figure 10.24. Figure 10-24
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.21.104.183