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
Mecrin Luvis 1Mecrin Luvis 1 

To Display The List of the Records

Hi Manoj,

What you have sent me that link for First scenario to add a checkbox with each record which is not a field .That is working .But my requirement is....... I have created one date field in lead object,In VF page when I select on that start date and end date...... click on search button it should display the list of the records of the leads data......

How to display that!!!!!!!!!!
Pramodh KumarPramodh Kumar
Based on the two dates write the SOQL statement with those conditions and pass the values to the vf page

here is the small soql Query
list<lead> leadList = new list<lead>([select id from lead where startDate >: yourStartDate and endDate <: yourEndDate ]);