Compare Attachments - InfoPath Dev
in

InfoPath Dev

Compare Attachments

Last post 09-19-2017 10:03 AM by Hilary Stoupa. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 09-19-2017 07:24 AM

    Compare Attachments

    Hi,

     

    I'm trying to compare two attachments and set a field value based on whether they're different or not.

     

     Any help would be appreciated.

     

    Thanks,

    Dave, 

  • 09-19-2017 07:46 AM In reply to

    Interesting! InfoPath stores these in base64, so I would guess the value would be the same for both.... see attached sample. Right click the link, save the file locally, right click the saved file & select design. Then you can preview and try it out.
    Hilary Stoupa

  • 09-19-2017 08:53 AM In reply to

    Hi Hilary,

    That works great thanks. 

    Not sure why I couldn't make it work the first time around. Possibly something to do with the fact i only had the rules set on one attachment box.

    Thanks,

     

    Dave. 

  • 09-19-2017 10:03 AM In reply to

    That was likely it. This could also have been done with a helper field (a field added to the data source with no control on the form) - the default value would be AttachmentField1 = AttachmentField2 and you could add rules to the helper field to take action if the result is true or false. :)
    Hilary Stoupa

Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.