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
Raju kanoperiRaju kanoperi 

i want to display records based on pick list value in visualforce page.

Hi, i have a question i want to display records based on pick list value in visualforce page. for ex: in the picklist if i select account display account trecords and if i select contact display contact records like that send me the code snippest thank you fr advance
SandhyaSandhya (Salesforce Developers) 
Hi Raju kanoperi,

Please refer below post there is a sample code that.

http://salesforce.stackexchange.com/questions/99916/retrieve-the-records-as-a-picklist-when-an-sobject-is-selected-from-another-pick


Hope this helps you!


Please mark it as solved if this helps you so that it will make available for other as a proper solution.

Thanks and Regards
Sandhya

 
Raju kanoperiRaju kanoperi
Thanks for reply sandhya . if i select account i want to display records below but here not displaying any more records. same if i select contact as well.