Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / March 2006

Tip: Looking for answers? Try searching our database.

Submit button Should Close InfoPath

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Deb - 15 Mar 2006 16:29 GMT
Hello:

I would like the Submit Options on a Submit button to actually close
InfoPath once the form is submitted, not just close the Form.  Is there any
way to do that?

Thanks!
S.Y.M. Wong-A-Ton - 16 Mar 2006 12:07 GMT
You can do this through code. You can create your own submit button to submit
the form using whatever data connection you want and then afterwards use
Application.Quit() to close InfoPath (see
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ipsdk/html/xdmt
hQuit_1_HV01021403.asp
). Your form must have full-trust to use the latter.
---
S.Y.M. Wong-A-Ton

> Hello:
>
[quoted text clipped - 3 lines]
>
> Thanks!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.