function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
select id, name, (select id, name from Contacts) from account
<apex:page standardController="Account" recordSetVar="accounts" tabstyle="account" sidebar="false"> <apex:pageBlock > <apex:repeat value="{!accounts}" var="a"> <apex:pageBlockSection title="{!a.name}"></apex:pageBlockSection> <apex:relatedList list="Contacts" subject="{!a.Id}"/> </apex:repeat> </apex:pageBlock> </apex:page>
1) https://developer.salesforce.com/page/A_Deeper_look_at_SOQL_and_Relationship_Queries_on_Force.com
Try below code
Let us know if this will help you