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
Devaraj 7Devaraj 7 

how to insert lookup field in custom object in salesforce

I have a custom object Employee in that ihave lookup field city.
i have another custom object city.
i want to insert Employee but city not will be inserted.
how can i insert.
if it will insert in city object as well as employee object it is possible using standard controller.
it is only be possible in controller.

please helpl me 

NagendraNagendra (Salesforce Developers) 
Hi Devraj,

May I suggest you please check with below link from the forums community with a similar issue which might guide you further in the right direction. Please let us know if this helps.