You need to sign in to do that
Don't have an account?
How to use trigger for compare two custom field from two different custom object
Hi
I am new in salesforce i am beginner so please help me
Thanks in advance
I have two custom objects say custobj1 and custobj2. In custobj1, In custobj1, I have a date/time field say date_time_custobj1__C and in custobj2 I have another field but its only date field say date__custobj2__c. Now I need to compare values in these two fields If One Field value is greater then another filed value thats the condition is i enter less value compare to other filed then its throughs the error using trigger So Please Help me How to use trigger for this what i do write in trigger for this Scenario
I am new in salesforce i am beginner so please help me
Thanks in advance
I have two custom objects say custobj1 and custobj2. In custobj1, In custobj1, I have a date/time field say date_time_custobj1__C and in custobj2 I have another field but its only date field say date__custobj2__c. Now I need to compare values in these two fields If One Field value is greater then another filed value thats the condition is i enter less value compare to other filed then its throughs the error using trigger So Please Help me How to use trigger for this what i do write in trigger for this Scenario
All Answers
TestObj3ID__c - lookup field in TestObj1 which cosists id of TestObj3__c
setTstObj3 - set of Ids of TestObj3__c which arer associated with atleast 1 TestObj1__c .
Its Done the Code will work its My Mistake to place api name Now its Fine Its Shows Error
Thanku So Much Again
It was good but can you describe the same if i have three objects Ob1 with field date1__c, Ob2 with field date2__c and Ob3 with field date3__c where date1__c > date2__c and date3__c.
Thanks in advance.