The File Attachment control lets you incorporate files of supported types as Base64-encoded data. Supported file types include ASCII or UTF-8 text, most Office System application documents, Web pages, and files of other types that aren’t on InfoPath’s list of verboten extensions in the note at the end of this section.
▸ Add an attachment to the Expense Report sample form
In InfoPath, click the Sample Forms link, select the Expense Report (Domestic) form, and click the Design This Form link.
Scroll to the optional Notes section, change Notes to Trip Report Attachment, and delete the notes rich text box.
Select the expenseReport root node in the Data Source task pane’s list, and click add to open the Add Field ...