XmlForm.MergeForm Method (String)
Merges the current form with the form specified by path or URL.
Assembly: Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)
The MergeForm method is equivalent to using the Merge Forms command of the InfoPath form editor. The value passed as the fileUrl parameter must be a full path or URL, and must include the filename with an .xml file extension.
This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.
This type or member can be accessed only from code running in forms opened in Microsoft InfoPath Filler.