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
SFDC orgSFDC org 

Trigger Help needed

Hi ,

 

 I want to write a trigger which would copy the sample id( sample is a custom object ) to a text field created in another custom object called as pet(pet__c), Kindly help me on this issuse.

 

 

 

Thanks

magicforce9magicforce9

Hi,

 

Do you have any Look'Up or Master-Detail relationship between Sample__c object and Pet__c object, if so then you can try using cross object formula and see if that helps.

 

But if you still want to create a trigger, a good place to get started is from here