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
chikkuchikku 

How to insert record id of lookup field with apex controller

I have  Account__c and Contact__c, which Account__c  have lookup with Contact__c  with filed Client__c,I need to write insert record id of look up.there is any solution.
ANUTEJANUTEJ (Salesforce Developers) 
Hi chikku,

Can you elaborate the details of the above scenario with an example so that it can be useful to look further.

Looking forward for your response.

Regards,
Anutej