You need to sign in to do that
Don't have an account?
Ker Vin.ax1237
Relational Operators in APEX Programming
Can anyone help out with this? Basically, I want the following conditions
1) Description is not blank
2) Remarks = blank
3) Subject does not start with 'Email:'
if ((tasks.Description != null) &= (tasks.Remarks__c == null) &= (tasks.Subject.startsWith('Email:')== false))
I wrote something like this, but I think the relational operators are wrong. Is there a guide for this
if ( tasks.Description != null && tasks.Remarks__c == null && tasks.Subject.startsWith('Email:')== false)
All Answers
if ( tasks.Description != null && tasks.Remarks__c == null && tasks.Subject.startsWith('Email:')== false)
Yikes, must have confused the comparison operator with the logical operator....sorry for the waste of time.