I understand I can close the form after a submit by going to Tools\Submitting Forms...\Submit Options.
However, I would like to close all of InfoPath after a submit. I found the following post on how to close the form via code.
http://www.infopathdev.com/forums/p/6165/22781.aspx#22781
I would like to do use the same submit button in the tool bar and not create a separate button. Do I just add "thisApplication.ActiveWindow.Close(true);" under an event? Which event do I use?
Thanks,
Don't grow old regretting the things you didn't do.