Solved

infopath 2010 clear form data

Posted on 2010-08-24
2
974 Views
Last Modified: 2012-06-22
I have a shift report that submits data to a database that works fine.
I have three buttons on the report
One to submit to the database
One to review data from the database
And one to clear the data displayed in the form not the database (New record)
Is there any way of putting a are you sure warning box on the clear data button so the operator has to think did I submit all the data before clearing the form.
Any help or advice would be greatly appreciated
0
Comment
Question by:LeePrice
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 28

Accepted Solution

by:
clayfox earned 125 total points
ID: 33511489
Yah this is pretty simple.

Add a field (boolean / True / False) to your form named submit.

Default if False

Add another action to your submit that sets the submit field to true

Add a condition to your reset button that if Submit is false prompt a warning that says please submit or press reset again. Have an action that sets submit to true.

Are you doing the reset action?  You will need to make it a rules type. and then have an open and close action.

I often set the record number to 0 and run a query to reset my form to blank values rather than using the packaged reset, which is essentially closing and reopening the form.
0
 

Author Comment

by:LeePrice
ID: 33511901
thank you for the prompt reply! as Usual your a lifesaver!
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …

729 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