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 / July 2005

Tip: Looking for answers? Try searching our database.

how to close infopath after it has been submitted.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Paul B - 13 Jul 2005 11:08 GMT
Hi

I have a form that is submitted to portal when a use clicks a button. This
function works fine. What i want is for the form to then close without
getting a dialog box says "do you wish to submit this form" as the form is
has already been submitted and it doesn;t matter if the user presses yes or
no.

I need this as some of the user that will be using the form would be
confused by this.

Thanks

Paul
Scott L. Heim [MSFT] - 13 Jul 2005 13:31 GMT
Hi Paul,

You will need to use custom script (i.e. on a button) to get this
functionality. Here is some sample VB Script - keep in mind, this has no
error handling option:

    XDocument.Submit
    Application.ActiveWindow.Close True

I hope this helps!

Scott L. Heim
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights
 
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.