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
Lavanya Gottumukkala 8Lavanya Gottumukkala 8 

How to find record count (field filling rate) of a field in an object

Hi All,

We have the below requirement.
We have a visualforce page and we are using fieldsets to display the fields from different objects in that page.Now we need the record count for each field (field filling count) in each fieldset of that vf page.How we can achieve this requirement.

Thanks in advance
James LoghryJames Loghry
Sounds like you'll need to write an apex method / controller that pulls in the field set, goes through your result set and counts the correct field(s).  From there, you can store the output in a wrapper class and present that wrapper class on the VF page.  Good luck