function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sri123sri123 

Reg: Apex Code

I created new "Edit" CommandLink in list view..

When i click on Edit , I would like to change the field contents of Student__c.

 

Can u help me the code for this....

(please also explain the steps..)..

 

 

Reg:

Rekha

Ispita_NavatarIspita_Navatar

What is your actual reqyuirement? Do you want the selected records fields to be changed with some fixed value - if yes then you can use a javascript code snippet and couple it with a trigger.

 

In case you want to give the user the control then also you can implement your requirement with javascript code snippet but then redirect user with the selected id and related field prepopulated to a custom VF page.

 

Hope this helps.