Send email - then close xdocument, how ?

J

.:J:.

Hi

I'm trying to close my infopath document after the user clicks "send"
- the outlook send veresion, using XDocument.View.Window.MailEnvelope.

I dont know how to catch the event when the user clicks send email,
and the HTML is emailed.

How do I create a function that closes after that click
(Application.XDocuments.Close(0);)?

Cheers
Jakob
 
C

Clay Fox

There is a button action to close the form.
Or you can add ti to submit to close when successful.
It depends on what script or code you are using but the close() will work to.
You just need the right syntax.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top