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
chachichachi 

Count contacts based on Lookup field

Hi, I'm trying to get the count of contacts that have a certain property selected from a lookup field.
 
The custom field is called Conference_c in the contact object.
 
var queryResult = sforce.connection.query("Select count() from contact where ??????");
window.alert("{!Conference__c.Name} has" + queryResult + " attendees");
 
Any help is appreciated. Thanks!!!
chachichachi
forget it... got it...
len123len123
I have similar problem - I want to count close cases for a contact. How do I do that?