I have two objects:
object1__c
, which has a text field calledsds__c
and a picklist field calledsds_chek__c
(values "Yes"/"No")object2__c
contain a text field calledsds__c
Here, I want to compare both objects' sdc_c
values. If any records match, then in the object1__c
picklist field populate with "Yes". If not match even one record also, the picklist value should populate with "No".
Please any one can help me!
Best Answer
How about trigger compare? You must create 2 triggers make it work.
on object 2 you must have after insert/update (and before delete but I will skip it) actions in method:
You should also have trigger on before insert object_1__c that will check if in system already is some matching record
If you have any other question please let me know