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
vnbhargavivnbhargavi 

hii all

i have two objects  custom and standard and there is no relationship between objects .i have two text fields in both the objects .if both values of these fields are equal a update in custom object should be update how can i do this.can anyone.please help me in this...

Edwin VijayEdwin Vijay

Do you mean to say that 

 

  • There are two objects. One standard and One custom.
  • A text field in both objects. If this field has the same value in both objects update a field in the custom object

In such a case, you will need to write a trigger on the custom object. In the trigger, check if any record in the standard object has the same value. If found, then update the field in custom object.

 

Hope it helps!