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
wipro.admin1.391698133027388E12wipro.admin1.391698133027388E12 

vf doubt- display records

I need to build a vf page wherein I need to display the no of Account records owned by each user.

One column should NO OF RECORDS and the other columns should be USER NAME.

Please help me with a sample code, if anyone has.
Sonam_SFDCSonam_SFDC
You can either achieve this through a query or by showing a report on the Visualforce page.

The following H&T doc shows you how you can bring in data from Account object - you need to modify the SOQL to get you the Count of Accounts group by Users:
http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_dataTable.htm