Display contents of Attachment Control in another field? - InfoPath Dev
in

InfoPath Dev

Display contents of Attachment Control in another field?

Last post 08-22-2011 02:37 PM by ehaze. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 08-18-2011 10:08 AM

    • ehaze
    • Top 500 Contributor
    • Joined on 12-11-2007
    • Posts 49

    Display contents of Attachment Control in another field?

    How would you go about displaying the contents of an attachment in another field? I tried using a Rich Text Box but returned value was a bunch of coded text.
  • 08-21-2011 12:54 PM In reply to

    Re: Display contents of Attachment Control in another field?

    Hi Ehaze,

    The attachments are base64 encoded. If you are trying to extract plain text from them, you'll need some special handling (probably code) to do that.

    If you just want the attachment to show up in two places, you can right click the original field in your data source and use reference to do that.

    Patrick Halstead
    Project Manager at Qdabra
  • 08-22-2011 02:37 PM In reply to

    • ehaze
    • Top 500 Contributor
    • Joined on 12-11-2007
    • Posts 49

    Re: Display contents of Attachment Control in another field?

    I'm cool with doing it with code. Just not sure what control to translate the attachment to. Richtext box? Picture control?
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.