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
salesforce sfdxsalesforce sfdx 

Need to display the all the accounts on clicking on a custom button

We have a  custom object called, Planning__c, EventTarget__c.

1. Added a  Custom button on the Record Detail Page of Planning__c.

2. Onclick on the button needs to display all the accounts whose Status__c is active as a Datatable with multiple select checkboxes.

3. After selecting the desired data Need to Create an EventTarget__c record with the Same Account data.

Please guide Some Links or references to start work with..!

Thanks
Prathusya Reddy..!
VinayVinay (Salesforce Developers) 
Does below reference help ?

https://salesforce.stackexchange.com/questions/285627/show-list-of-account-records-and-sort-them-according-to-selected-button-value-m

Thanks,