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 / August 2007

Tip: Looking for answers? Try searching our database.

Submitting an InfoPath form to an Access Database

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
c9ola - 29 Aug 2007 19:54 GMT
I have an InfoPath form (survey) that I will email out to some users.  Once
they hit the submit button, which is coded to close the form, the user is
left in InfoPath.  Is there a way to close out of InfoPath as well?  Thanks!
Signature

krh

c9ola - 29 Aug 2007 20:26 GMT
I forgot to select 'Notify me of replies.'
Signature

krh

> I have an InfoPath form (survey) that I will email out to some users.  Once
> they hit the submit button, which is coded to close the form, the user is
> left in InfoPath.  Is there a way to close out of InfoPath as well?  Thanks!
Kalyan G Reddy MVP (GGK Tech) - 30 Aug 2007 09:04 GMT
Hello

Did You mean to say if you have selected Notify me of replies, then the
Infopath closed out?
Signature

Kalyan G Reddy - INFOPATH MVP 2007
http://www.ggktech.com

> I forgot to select 'Notify me of replies.'
>
> > I have an InfoPath form (survey) that I will email out to some users.  Once
> > they hit the submit button, which is coded to close the form, the user is
> > left in InfoPath.  Is there a way to close out of InfoPath as well?  Thanks!
c9ola - 30 Aug 2007 13:18 GMT
No, sorry.  My second post had nothing to do with the first.  I forgot to
select 'Notify me of replies' and I wanted to be notified if someone replied.
The only way I could figure out how to do that was to make another post.  
Sorry for the confustion.

I still need to know if there is a way to programatically close InfoPath
when a form is submitted to an Access Database.  Thank you.
Signature

krh

> Hello
>
[quoted text clipped - 6 lines]
> > > they hit the submit button, which is coded to close the form, the user is
> > > left in InfoPath.  Is there a way to close out of InfoPath as well?  Thanks!
K.Ramana Reddy(GGK Tech) - 30 Aug 2007 14:34 GMT
Hi,

You can close the form after submitting by using below code.
thisXDocument.View.Window.Close(true); (this is in c#)
XDocument.View.Window.Close(true); (this is in Jscript)

Signature

k.Ramana Reddy
http://www.GGKtech.com

> No, sorry.  My second post had nothing to do with the first.  I forgot to
> select 'Notify me of replies' and I wanted to be notified if someone replied.
[quoted text clipped - 14 lines]
> > > > they hit the submit button, which is coded to close the form, the user is
> > > > left in InfoPath.  Is there a way to close out of InfoPath as well?  Thanks!
c9ola - 30 Aug 2007 16:54 GMT
Thank you for this information . . . I believe it's just what I'm looking
for.  However, I don't know where to put it.  (Sorry . . . this is new to
me.)  The submit button I have on the form has a 'Define Action Paramters'
component on it, but I don't see anywhere to put code.  I looked at the
Microsoft Script Editor and can't see the submit button object anywhere.  
Just a little more direction please.  Thank you so much!
Signature

krh

> Hi,
>
[quoted text clipped - 20 lines]
> > > > > they hit the submit button, which is coded to close the form, the user is
> > > > > left in InfoPath.  Is there a way to close out of InfoPath as well?  Thanks!
K.Ramana Reddy(GGK Tech) - 31 Aug 2007 05:34 GMT
Hi,
Do you have any code in your submit button?
Signature

k.Ramana Reddy
http://www.GGKtech.com

> Thank you for this information . . . I believe it's just what I'm looking
> for.  However, I don't know where to put it.  (Sorry . . . this is new to
[quoted text clipped - 27 lines]
> > > > > > they hit the submit button, which is coded to close the form, the user is
> > > > > > left in InfoPath.  Is there a way to close out of InfoPath as well?  Thanks!
c9ola - 31 Aug 2007 13:10 GMT
No.  As I mentioned in my last post, I don't see anywhere to put code. It has
a 'Define Action Parameters' button with choices - but no place for code.  
Signature

krh

> Hi,
> Do you have any code in your submit button?
[quoted text clipped - 30 lines]
> > > > > > > they hit the submit button, which is coded to close the form, the user is
> > > > > > > left in InfoPath.  Is there a way to close out of InfoPath as well?  Thanks!
c9ola - 31 Aug 2007 13:18 GMT
I was just going over your reply again and realized you are referring to
closing the form.

You can close the form after submitting by using below code.
> thisXDocument.View.Window.Close(true); (this is in c#)
> XDocument.View.Window.Close(true); (this is in Jscript)

The 'Define Action Parameters' button that I'm using already handles closing
the form.  I want to close InfoPath itself.    Is there code for that, and
where does it go?  Can the 'close' property of the form run a function that
closes InfoPath?
Signature

krh

> No.  As I mentioned in my last post, I don't see anywhere to put code. It has
> a 'Define Action Parameters' button with choices - but no place for code.  
[quoted text clipped - 33 lines]
> > > > > > > > they hit the submit button, which is coded to close the form, the user is
> > > > > > > > left in InfoPath.  Is there a way to close out of InfoPath as well?  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.