Solved

Infopath Forms: Button to open save dialog box

Posted on 2013-01-22
2
975 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
A customer recently asked me about anti-malware and the different deployment options available for his business. Daily news about cyberattacks, zero-day vulnerabilities, and companies that suffered a security breach made him wonder if the endpoint a…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

867 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now