The OnSelect of a button in my app Set(varM1P,varM1P+1) to count in a DatacardValue. The Default is varM1P. The forms do not reset at all after a submit.
OnSelect of Submit:
'Hand Hygiene Audit App',
Solved! Go to Solution.
Yes. The variable resets now but when I go into the gallery to open the item it clears the data because the variable is still active. I have the same issue using UpdateContext.
Hi @FernandB ,
You seem to have a circular issue with your form and the variable - your original post was about resetting and seems to be solved. I cannot see your form, but have a look at the content and how it relates to the Variable.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
I used UpdateContext to update the variable for the OnVisible of the screen and this seems to have been the issue.
varMode = "Edit",
varM1P: Value(varRecord.'Moment 1 Before patient or environment contact (Completed)'),
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
At the monthly call, connect with other leaders and find out how community makes your experience even better.