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
rushirushi 

Display related list based on check box

Hello,

 I have a requirement to display related list on parent record based on check box on detail object
In detail 
  I created 2 custom objs one is master and another is detail
  Detail obj has check box field holds true or false values
 if it is true detail record displays on the parent record as a related l list otherwise not

How can I acheive this?????

Thanks,
Rushi
William TranWilliam Tran
Out of the box, I don't think you can add a filter to limit the list.  But with you have VF page, you can limit the results by filtering it out in SOQL or apex code.

Thx