使用 Microsoft 登入
登入或建立帳戶。
您好:
選取其他帳戶。
您有多個帳戶
選擇您要用來登入的帳戶。

附註:  我們想要以您的語言,用最快的速度為您提供最新的說明內容。 本頁面是經由自動翻譯而成,因此文中可能有文法錯誤或不準確之處。讓這些內容對您有所幫助是我們的目的。希望您能在本頁底部告訴我們這項資訊是否有幫助。 此為 英文文章 出處,以供參考。

You can store and organize all of your users' forms in a document library on a server that is running Microsoft Windows SharePoint Services. In the document library, users can fill out forms that are based on your form template, export data from completed forms to Microsoft Office Excel 2003 or Microsoft Office Excel 2007, or merge the data from several forms into one form.

To allow users to submit forms that are based on your form template to a document library, you can add a secondary data connection to your form template that submits the data. After you add the submit data connection, you can configure the form template to allow your users to submit their form data to the document library. When you do so, Microsoft Office InfoPath adds a Submit button to the Standard toolbar and a Submit command to the File menu on the form. You can also customize the submit options for your form template in the following ways:

  • Change the text that appears on the Submit button on the Standard toolbar and the Submit command on the File menu.

  • Change the keyboard shortcut for the Submit button on the Standard toolbar and the Submit command on the File menu.

  • Create custom messages to display to your users when they submit their forms.

  • Specify whether to leave the form open, close the form, or open another blank form after the form is submitted.

Add a submit data connection

  1. On the Tools menu, click Submit Options.

  2. In the Submit Options dialog box, select the Allow users to submit this form check box.

  3. Click Send form data to a single destination, and then click SharePoint document library in the list.

  4. 按一下 [新增]。

  5. In the Data Connection Wizard, in the Document library box, type the location of the SharePoint document library.

  6. In the File name box, type a name that will be used to identify the form in the document library.

    提示: You can also use a formula to ensure that each form name is unique.

    如何進行?

    1. Click Insert Formula 按鈕圖像.

    2. In the Insert Formula dialog box, do one of the following:

      • To use a field in the formula, click Insert Field or Group, click the field that you want to use in the Select a Field or Group dialog box, and then click OK.

      • To use a function in the formula, click Insert Function, select the function that you want to use in the Insert Function dialog box, and then click OK.

        提示: If the function requires parameters, select the function in the Insert Function dialog box, click OK, and then in the Formula box in the Insert Formula dialog box, double-click the function that you added, and click a field or group. Find links to more information about functions in the See Also section.

      • To insert a value or mathematical operator into the formula, type the value or the symbol for the mathematical operation in the Formula box.

    運算

    符號

    新增

    +

    Subtract

    -

    Multiply

    *

    Divide

    /

    • 附註: If your formula uses the division (/) operator, make sure that there is a space before and after the division operator. If the division operator does not have a space before and after it, InfoPath may interpret "/" as a separator for XPath location steps rather than as a division operator.

    • To check the formula for the correct syntax, in the Insert Formula dialog box, click Verify Formula.

      Find links to more information about formulas in the See Also section.

  7. To overwrite any existing forms with the same name in the document library, select the Allow overwrite if file exists check box.

  8. 按一下 [下一步]。

  9. On the next page of the wizard, in the Enter a name for this data connection box, type a descriptive name for this submit data connection.

  10. Verify that the information is correct in the Summary section, and then click Finish.

    1. To change the name of the Submit button that appears on the Standard toolbar and the Submit command that appears on the File menu when users fill out the form, type the new name in the Caption box in the Submit Options dialog box.

      提示: If you want to assign a keyboard shortcut to this button and command, type an ampersand (&) before the character that you want to use as a keyboard shortcut. For example, to assign ALT+B as the keyboard shortcut for the Submit button and command, type Su&bmit.

  11. If you do not want people to use a Submit command or the Submit button on the Standard toolbar when they fill out your form, clear the Show the Submit menu item and the Submit toolbar button check box.

    1. By default, after users submit a form, InfoPath keeps the form open and displays a message to indicate if the form was successfully submitted. To change this default behavior, click Advanced, and then do one of the following:

      1. To close the form or create a new blank form after the user submits a completed form, click the option that you want in the After submit list.

      2. To create a custom message to indicate if the form was successfully submitted, select the Use custom messages check box, and then type your messages in the On success and On failure boxes.

        提示: Use a message in the On failure box to tell users what to do if they cannot submit their form. For example, you can suggest that users save their form and contact someone for further instructions.

      3. If you do not want to display a message after the user submits a form, clear the Show success and failure messages check box.

Top of Page

需要更多協助嗎?

想要其他選項嗎?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

這項資訊有幫助嗎?

您對語言品質的滿意度如何?
以下何者是您會在意的事項?
按下 [提交] 後,您的意見反應將用來改善 Microsoft 產品與服務。 您的 IT 管理員將能夠收集這些資料。 隱私權聲明。

感謝您的意見反應!

×