Solved

Infopath Forms: Button to open save dialog box

Posted on 2013-01-22
2
984 Views
Last Modified: 2013-02-06
Hello, I'm trying to add two buttons to my InfoPath form that will be shortcuts to standard functionality in the file menu (most of my users are new to InfoPath, and putting a button on the form is easier than writing instructions).  I need two buttons:

Save a Local Copy: allows the user to save a local copy of the form to their desktop (standard save-as functionality)

Attach to Email: allows the user to use the 'Save & Send' feature to Send a snap shot via outlook.

I thought that this would be pretty straight forward, but I'm having a lot of trouble finding any code snippits that actually work in InfoPath's VB editor.  I'm using InfoPath 2010 to develop the form, but many of my users have InfoPath 2007 (I'm not sure if that matters).
0
Comment
Question by:JamesCbury
2 Comments
 
LVL 28

Accepted Solution

by:
clayfox earned 500 total points
ID: 38806230
I would try just using InfoPath designer.

Create 2 submit data connections with the wizard.

1 to save to a network share.
To do a true save as you cannot write a button, at least not easily.  Typically it is not best practice anyway.  For a form solution you will want to use standard file naming practices so that you control the files.  Use unique data from the form or time stamps but setup a designated path for all "saved" forms.

2 to submit to email.
You can choose to send the view or the form attached, but it is straightforward.
0
 

Author Closing Comment

by:JamesCbury
ID: 38861627
Thanks for the advice, sorry for the delay in getting back... My project got sidelined for the time being.
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Before you can digitally sign infopath forms, you must have a digital certificate. Microsoft Certificate Services will need to be enabled on a Windows Server 2008 to facilitate the creation and verification of the digital certifciates on the web ser…
As a business owner, there are many things that keep you up at night. Profit margins, employee retention, human resource protocols, whether your product or service will remain competitive. When you own or manage a technology company that operates la…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question