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
VANAPARTHI SRIKANTHVANAPARTHI SRIKANTH 

auto update a contact field from another object contact field.

HI all,

I have created an object called driver and cabs where cab and drive both object has a phone field and created a look up relation between cab and driver, now when ever a lookup relation is created i would like to Auto fill the phone field from the driver object to contact.is it possible if please help me writting a code or a formulae.  
Avidev9Avidev9
If the contact object has lookup to Driver object I think you can easily right an formula field to pull the details to contact object, I think the formua should be Driver__r.Phone__c . It should be  easy to configure it
AshwaniAshwani
Hi VANAPARTHI SRIKANTH,

You can acheive it without code. No code required.

You can use cross-object formula field to reference parent Driver object phone field in child object named "Car"
If relationship is not direct or you are having any problem with that you can use VLOOKUP also.