Link to home
Start Free TrialLog in
Avatar of Kimberly1467
Kimberly1467

asked on

File Attachment Infopath

I am creating a form in Infopath based on a MS Access database. I am trying to add a file attachment control on the form but I keep getting the following error: "A file attachment must be bound to a non repeating field with a picture or a file attachment data type. If the field is part of a repeating group, then the file attachment control must be inside a repeating table or repeating section that is bound to that group." I tried changing the data type in the database to OLE object but Infopath does not support large binary fields.

How can I add a field attachment control to my form?
ASKER CERTIFIED SOLUTION
Avatar of melli111
melli111
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I'm glad that worked for you  :)
***In case your users come up with the request that they want to attach more than just 1 file attachment (which is common) here's what you can do:
Right Click on your Attachment field
Properties
Check the box for "Repeating"
Delete the old field on the form and drag and drop this one onto your form and select "Repeating table" when it asks you.

(That way you don't have to create a ton of attachment fields)