Hi,
Open the form in design mode and then go to Tools --> Submitting forms --> Click on "Submit Options".
Now, choose "Close the form" option. This will close the form after submitting the form to a database.
Best Regards,
Sheetal D, MCSD.NET
Microsoft Developer Support
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: (e-mail address removed)
Newsgroups: microsoft.public.infopath
Subject: submit a form by using a rule and then close
Date: 28 Feb 2006 09:53:28 -0800
Organization:
http://groups.google.com
Lines: 5
Message-ID: <
[email protected]>
NNTP-Posting-Host: 144.81.41.27
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1141149213 24624 127.0.0.1 (28 Feb 2006 17:53:33 GMT)
X-Complaints-To: (e-mail address removed)
NNTP-Posting-Date: Tue, 28 Feb 2006 17:53:33 +0000 (UTC)
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.0.3705; InfoPath.1),gzip(gfe),gzip(gfe)
Complaints-To: (e-mail address removed)
Injection-Info: j33g2000cwa.googlegroups.com; posting-host=144.81.41.27;
posting-account=YBKVeQ0AAADKMSFWg3Ii0Cu9kZRWLmld
Path: TK2MSFTNGXA03.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-online.de!news.glorb.com!
postnews.google.com!j33g2000cwa.googlegroups.com!not-for-mail
Xref: TK2MSFTNGXA03.phx.gbl microsoft.public.infopath:27259
X-Tomcat-NG: microsoft.public.infopath
When I submit the form using the submit button, it closes afterwards.
However, when I have it submitted as a data connection after I click a
check box, it still stays open. Would anyone know how I can get it to
close w/out Script?