File Attachment Control - Datatype - InfoPath Dev Sign in | Join | Help in Code InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » Code » File Attachment Control - Datatype File Attachment Control - Datatype Last post 10-12-2005 04:43 AM by vt_asparagus. 5 replies. Page 1 of 1 (6 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 10-11-2005 06:50 AM vapires Joined on 10-07-2005 USA Posts 34 File Attachment Control - Datatype Reply Contact Hello,I have a form that has a file attachment control and the form data is being stored in a database. What datatype do I need to use in my table to store an attached file from Infopath?Appreciate your help. Thanks,VidetteVidetteP 10-11-2005 10:17 AM In reply to vt_asparagus Joined on 08-05-2005 USA Posts 285 Re: File Attachment Control - Datatype Mark as Not AnswerMark as Answer... Reply Contact Look into storing your attached file as a BLOB type. Jasonhttp://www.k2distillery.com/ 10-11-2005 01:19 PM In reply to fredarwin Joined on 10-06-2005 Mexico Posts 89 Re: File Attachment Control - Datatype Mark as Not AnswerMark as Answer... Reply Contact vt_asparagusi test this using the three type of blob data field types(text,ntext or image) with sql server.But when u drag and drop the datafield to the form infopath only give me the option to use a image control and not a file attaching control,why?? how i could convert to use a file attaching ?ThanksFred Darwin Villareal 10-11-2005 07:36 PM In reply to vt_asparagus Joined on 08-05-2005 USA Posts 285 Re: File Attachment Control - Datatype Mark as Not AnswerMark as Answer... Reply Contact Easy...right click the control and I believe there is a convert to option. You can then change the control to be a file attachment control. Jasonhttp://www.k2distillery.com/ 10-12-2005 04:29 AM In reply to vapires Joined on 10-07-2005 USA Posts 34 Re: File Attachment Control - Datatype Mark as Not AnswerMark as Answer... Reply Contact Thank you vt_asparagus & fredarwinI am now having the same proble as fredarwin. I can insert only the image upload control for the image datatype field. When I try to do the change to Upload file, this is not available... -VidetteVidetteP 10-12-2005 04:43 AM In reply to vt_asparagus Joined on 08-05-2005 USA Posts 285 Re: File Attachment Control - Datatype Mark as Not AnswerMark as Answer... Reply Contact For a file attachment control, I think the field in the schema will need to be a base64Binary type. I noticed that if you are bound to a string type you will get the behavior you have been describing. Jasonhttp://www.k2distillery.com/ Page 1 of 1 (6 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.