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
samasama 

display records in visualforce on clicking the button in custom object

Hi,

I have two custom objects. i have created custom button link in object1 which will link to the visualforce .
On clicking that button, i want to display particular one record from object1 and save them in object2 in a way that, one record field from object2 should have the same value which i have picked from object1.
i want to display picked record value from object1 and few records from object2 and update all these records in object2 again.

I am newbie to SFDC.
Can anyone please help me on this. Apex code would be Appreciated .

Thanks everyone for reading this.
Ramu_SFDCRamu_SFDC
The below post seems to solve the exact requirement of your's(or atleast the first half of your requirement)

https://success.salesforce.com/answers?id=90630000000gwhCAAQ

Regarding the second half, please provide more information.
samasama
hi Ramu_SFDC,

 thank you for your reply. i have gone through that link.but am also getting the same error.


any other way around for this issue please?