List<Volunteer__c> vllist =[select id,name,(select id,name from Organization__r),(select id,name from Account__r),(select id,name from Contact__r) from Volunteer__c];
List<Volunteer__c> vllist =[select id,name,(select id,name from Organizations__r),(select id,name from Accounts__r),(select id,name from Contacts__r) from Volunteer__c];
if you need any assistanse, Please let me know!!
Kindly mark my solution as the best answer if it helps you.
Organization-Account-Contact objects are childs to Volunteer object?
Thanks!!
Yes
try with below query.
If this helps, Please mark it as best answer.
Thanks!!
Please use below code:-
if you need any assistanse, Please let me know!!
Kindly mark my solution as the best answer if it helps you.
Thanks
Mukesh