Close a infopath filler form via code - InfoPath Dev
in

InfoPath Dev

Close a infopath filler form via code

Last post 03-19-2014 09:23 PM by Ruskin11. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 03-19-2014 09:10 PM

    Close a infopath filler form via code

    Hi all,

    I currently have an infopath 2010 filler form, in it I have added the code functionality which allows me to add what a user has input into the form into a shareppoint 2010 list.

    However when I add an infopath rule to close the form, the above mentioned functionality does not run.

    Therefore I am looking for a way to close the form after the code which I have entered has run.

    I have tried using a submit button instead of the current rules button which I am using, but it doesnt allow me to add any "action" rules to this button which I need in my form.

    So my question is, is it possible to close my form down via code (C#) or is this not possible?

    Thanks in advance

  • 03-19-2014 09:23 PM In reply to

    Re: Close a infopath filler form via code

    Sorry guys I found the answer!

    Didn't do a thorough enough job of searching the forums!!

    For anyone who is interested it is this.Close();

    Thanks for your time

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