Aktivere eller deaktivere skjemasammenslåing

Obs!:  Vi ønsker å gi deg det nyeste hjelpeinnholdet så raskt som mulig, på ditt eget språk. Denne siden er oversatt gjennom automatisering og kan inneholde grammatiske feil eller unøyaktigheter. Formålet vårt er at innholdet skal være nyttig for deg. Kan du fortelle oss om informasjonen var nyttig for deg nederst på denne siden? Her er den engelske artikkelen for enkel referanse.

If you enable form merging for a form template, your users can consolidate data from many different forms that are based on that form template into one new form. This is useful when your users want to compare or summarize data from several forms. For example, a manager whose team fills out a weekly status report form can merge the data from several forms into a single summary form for the director.

By default, when multiple forms are merged into a single form, the only data that is merged is data that is contained in a gjentatt tabell or gjentatt inndeling, or data that is associated with a list control or a rich text box control. However, you can specify that data in other types of controls should also be merged. It is important to note that, even if data is contained in controls that do not support merging or that do not have a merge action specified, the data in the original forms is not deleted when you merge those forms. Your users can still see their original data by opening each form individually.

Tips!: If you enable form merging for a form template, your users can also merge forms that are stored in an InfoPath Forms-mappe in Microsoft Office Outlook 2007 or in document libraries on a Microsoft Windows SharePoint Services site.

To enable or disable form merging for a form template, do the following:

  1. On the Tools menu, click Form Options.

  2. Under Category, click Advanced.

  3. Gjør noe av følgende:

    • To disable merging, clear the Enable form merging check box.

    • To enable merging, select the Enable form merging check box.

      Enable users to merge forms by using custom code that you provide

      To enable users to merge forms by using custom code, after you select the Enable form merging check box, do the following:

      1. Select the Merge using custom code check box.

      2. Click Edit, and then type or paste the code in the Microsoft Visual Studio Tools for Applications (VSTA) window that appears.

        Obs!: 

        1. To add or edit managed code, you must have Microsoft Visual Studio Tools for Applications (VSTA) installed on your computer. Microsoft .NET Framework 2.0 and Microsoft Core XML Services 6.0 must be installed before you install VSTA. To install VSTA, in Control Panel, open Add or Remove Programs, locate 2007 Microsoft Office-system, and then click Change.

        2. Merging forms by using custom code is not supported for browser-compatible form templates.

Bli bedre på Office
Utforsk opplæring
Vær først ute med de nye funksjonene
Bli med i Office Insiders

Var denne informasjonen nyttig?

Takk for tilbakemeldingen!

Takk for tilbakemeldingen! Det høres ut som det kan være lurt å sette deg i kontakt med én av våre Office-kundestøtteagenter.

×