ข้ามไปที่เนื้อหาหลัก
การสนับสนุน
ลงชื่อเข้าใช้
ลงชื่อเข้าใช้ด้วย Microsoft
ลงชื่อเข้าใช้หรือสร้างบัญชี
สวัสดี
เลือกบัญชีอื่น
คุณมีหลายบัญชี
เลือกบัญชีที่คุณต้องการลงชื่อเข้าใช้

หมายเหตุ:  เราต้องการมอบเนื้อหาวิธีใช้ปัจจุบันในภาษาของคุณให้กับคุณโดยเร็วที่สุดเท่าที่เราจะทำได้ หน้านี้ได้รับการแปลด้วยระบบอัตโนมัติ และอาจมีข้อผิดพลาดทางไวยากรณ์หรือความไม่ถูกต้อง จุดประสงค์ของเราคือเพื่อให้เนื้อหานี้มีประโยชน์กับคุณ คุณแจ้งให้เราทราบว่าข้อมูลดังกล่าวมีประโยชน์ต่อคุณที่ด้านล่างของหน้านี้ได้หรือไม่ นี่คือ บทความภาษาอังกฤษ เพื่อให้ง่ายต่อการอ้างอิง

A resource file is a file that is used to display additional information in a form template. When you save or publish a form template, any resource files are included in the form template.

You can add the following types of resource files to your form template:

HTML files    You can use HTML files to display information in a บานหน้าต่างงานแบบกำหนดเอง.

หมายเหตุ: When you add an HTML file as a resource file to a form template, you should also add any files that are required by the HTML file, such as other HTML files, style sheets, or graphics files.

XML files    You can use XML files to populate list box controls, combo box controls, or drop-down list box controls. If the data in a list box, combo box, or drop-down list box control are constant, put that data in an XML file and add that file to the form template as a resource file, rather than using a การเชื่อมต่อข้อมูล to populate those controls. When you use a resource file, forms that are based on that form template open quicker than forms that use a data connection to populate those controls. That is because the data in a resource file is considered part of the form template and does not rely on a data connection to get the data. If the form template is not configured so that the form stores the data from an external data source, the form must be connected to the network in order to get the required data. A resource file doesn't need a data connection, because the data is already part of the form.

คุณต้องการทำสิ่งใด

Add a resource file to a form template

  1. On the Tools menu, click Resource Files.

  2. In the Resource Files dialog box, click Add.

  3. In the Add File dialog box, select the file that you want to add.

Top of Page

Remove a resource file from a form template

  1. On the Tools menu, click Resource Files.

  2. In the Resource files in the form template list in the Resource Files dialog box, select the resource file that you want to remove from the form template.

  3. คลิก นำออก

Top of Page

Update a resource file in a form template

You can update the resource file in a form template after the form template has been published. For example, you might want to add new items or delete existing items in a resource file that you are using to populate a list box control in your form template. To update the resource file, you must modify a copy of the resource file, and then add the updated resource file to the form template. When you add the updated resource file to your form template, you are actually replacing the existing resource file. After you add the updated resource file, publish the form template again. Your users will then get the updated resource file when they open a new, blank form that is based on the form template.

  1. Make any necessary changes to a local copy of the resource file.

    เคล็ดลับ: If you do not have a local copy of the resource file, you can extract a copy from the form template. Find links to more information about extracting the files in a form template in the See Also section.

  2. In InfoPath design mode, open the form template that the resource file is associated with.

  3. On the Tools menu, click Resource Files.

  4. In the Resource Files dialog box, click Add.

  5. In the Add File dialog box, select the file that you updated, and then click OK.

  6. In the Microsoft Office InfoPath dialog box, click Replace the existing file, and then click OK.

  7. In the Resource Files dialog box, click OK.

  8. To publish the form template, on the File menu, click Publish, and then complete the steps in the Publishing Wizard.

Top of Page

ต้องการความช่วยเหลือเพิ่มเติมหรือไม่

ต้องการตัวเลือกเพิ่มเติมหรือไม่

สํารวจสิทธิประโยชน์ของการสมัครใช้งาน เรียกดูหลักสูตรการฝึกอบรม เรียนรู้วิธีการรักษาความปลอดภัยอุปกรณ์ของคุณ และอื่นๆ

ชุมชนช่วยให้คุณถามและตอบคําถาม ให้คําติชม และรับฟังจากผู้เชี่ยวชาญที่มีความรู้มากมาย

ข้อมูลนี้เป็นประโยชน์หรือไม่

คุณพึงพอใจกับคุณภาพภาษาเพียงใด
สิ่งที่ส่งผลต่อประสบการณ์ใช้งานของคุณ
เมื่อกดส่ง คำติชมของคุณจะถูกใช้เพื่อปรับปรุงผลิตภัณฑ์และบริการของ Microsoft ผู้ดูแลระบบ IT ของคุณจะสามารถรวบรวมข้อมูลนี้ได้ นโยบายความเป็นส่วนตัว

ขอบคุณสำหรับคำติชมของคุณ!

×