Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

How to reset values in form ?

(0) ShareShare
ReportReport
Posted on by 225

Hi all,

I got this grid and on the right side i got some access levels in a radio button.

When i choose a row and a level in the radio button, the column Acces Level for this row is updated with the new values.

Imagine now i'm doing it on multiple rows.

There i want to create a cancel button to reset all values to the initial "No access" level.

Someone could help to reach that ?

Thanksfully.

  • Awaxx Profile Picture
    225 on at
    RE: How to reset values in form ?

    Thank you i will try to do that.

  • Verified answer
    Martin Dráb Profile Picture
    232,858 Most Valuable Professional on at
    RE: How to reset values in form ?

    If the data is already stored, there is no easy way to reset it. You would need to know which records you've modified since opening the form and you would have to update them again. Which also means a risk of conflicts with other users modifying the same form.

    If you want be able to easily reset the data, work with the tempoary table until you're down and you close the form.

  • Awaxx Profile Picture
    225 on at
    RE: How to reset values in form ?

    Hi goshoom 

    Nice to read you again.

    For your last question its just a training i'm doing on that form. It's not mine.

    Secondly, to answer your first questions.

    There's temporary table stocking modification on values, then it's inserted in regular table and finally a display method to show the access level updated.

    I didnt work on that part, i'm juste using this form to complete some training and find a solution for my main subject.

    Thank you.

  • Martin Dráb Profile Picture
    232,858 Most Valuable Professional on at
    RE: How to reset values in form ?

    You showed the GUI, but they key question is where you store the information about the access level. Is it it a table field? In a reqular table (and therefore the changes have already been saved) or a temporary one? Or is it a display method backed by a data structure in memory?

    By the way, it seems like you're trying to develop another security setup, in parallel to normal role-based security in F&O. Why?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,060 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,858 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans