What I would like to do is to update particular field with a visualforce button as well as with the respective controller and save the record. Could you please advise how this can be achieved? Could you please add an example code.
In the following converstaion: Update custom field using Trigger
I've tried to update the field via trigger but it turned out to be difficult.
Therefore I strive to find a way to update the field via controller.
Please advise how this can be achieved.