I want to reset the three field values in the form. How can I do it? Please help me to do it.
You need to assign the default values to the field when you want to reset the values. It depends on the data type of the field. If your field is Integer then assign value as 0, in case of string field use a blank string ''.
You need to identify when you want to reset the values and write the code accordingly.
Hope this helps.
Can you explain a bit more what you are trying to do? Are you trying to restore the field values to what they were at the last save (ctrl+F5 from the frontend) or are you trying to clear them as per Rachit's suggestion?
General AX Enthusiast and Blogger
Thanks Jonathan. I like to clear them as per Rachit's suggestion.
I have five fields in my form. I want to reset only three fields. I have to do it through a job. Please advice me.
Please get used to providing more information, otherwise nobody can help you. It's in your own best interest.
Now tell us whether your controls are bound to data source fields and what problem you have with changing their values.
Martin "Goshoom" Dráb | Freelancer | Goshoom.NET Dev Blog