File Attachment Control - Datatype - InfoPath Dev
in

InfoPath Dev

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: Previous Next
  • 10-11-2005 06:50 AM

    File Attachment Control - Datatype

    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,
    Vidette

    VidetteP
  • 10-11-2005 10:17 AM In reply to

    Re: File Attachment Control - Datatype

    Look into storing your attached file as a BLOB type.
    Jason
    http://www.k2distillery.com/
  • 10-11-2005 01:19 PM In reply to

    Re: File Attachment Control - Datatype

    vt_asparagus

    i 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 ?

    Thanks

    Fred Darwin Villareal
  • 10-11-2005 07:36 PM In reply to

    Re: File Attachment Control - Datatype

    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.
    Jason
    http://www.k2distillery.com/
  • 10-12-2005 04:29 AM In reply to

    Re: File Attachment Control - Datatype

    Thank you vt_asparagus & fredarwin

    I 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...
    -Vidette

    VidetteP
  • 10-12-2005 04:43 AM In reply to

    Re: File Attachment Control - Datatype

    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.
    Jason
    http://www.k2distillery.com/
Page 1 of 1 (6 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.