[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

infopath 2010 clear form data

Posted on 2010-08-24
2
Medium Priority
?
982 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 500 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

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

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

Cancel future meetings from user mailboxes in Office 365 using Remove-CalendarEvents
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
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…

656 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