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

Tip: Looking for answers? Try searching our database.

Closing InfoPath after Sumitting

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Pam M - 02 Sep 2005 16:11 GMT
Hello,
I have written custom code to submit a form to a SHarePoint form library. I
want InfoPath to close after the user submits the form. I know that in the
submit options you can choose to close the form but I want the whole program
to close. Does anybody know the JScript code that I could add that would do
that???

Thanks,
Pam
bratt - 02 Sep 2005 18:27 GMT
in vb.net it is:
thisXDocument.Submit()
thisXDocument.View.Window.Close(True)

I'd assume JScript is similar...

> Hello,
> I have written custom code to submit a form to a SHarePoint form library. I
[quoted text clipped - 5 lines]
> Thanks,
> Pam
Weisen - 28 Sep 2005 13:40 GMT
Application.ActiveWindow.Close(false);

the above JScript works.

Weisen

> in vb.net it is:
> thisXDocument.Submit()
[quoted text clipped - 11 lines]
> > Thanks,
> > Pam
 
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.