You need to sign in to do that
Don't have an account?
Sana123
Count Number of contacts by using aggregate SOQL
I have to count Number of contact according to a picklist field value.
i have a picklist field in contact object which has two value - yes and No ,..i have to count those number of contact which ha yes and no and popultate the counting to account's two custom fields -- total_no_yes__c = count no of contact has yes......
total_no__c = count no of contact has no.....
Using SOQl aggregate
i have a picklist field in contact object which has two value - yes and No ,..i have to count those number of contact which ha yes and no and popultate the counting to account's two custom fields -- total_no_yes__c = count no of contact has yes......
total_no__c = count no of contact has no.....
Using SOQl aggregate
Please let me know it is working or not?Hi Please find the solution. "Count Number of contacts "
Please mark it as the Best Answer if it helps you.
Thank You
can you please help me to write this code for trigger helper class.