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
Nirmal ChristopherNirmal Christopher 

Field updates on Edit page?

I want to do a lookup field update on edit page on click of a button action for this i have created a VF page and a controller. For each click the field should get updated as rec1,rec2...etc. How can we do this? I had an idea of retrieving a record using a soql query but bit stuck how to sort it and build where clause for it? Any idea how to acheive this?