I have a custom object called Technology__c
and join object called AccountTechnologies
which is a join object between Account and Technology__c .So AccountTechnologies has a master detail relationship from both sides.
I have added a count__c
roll-up summary field in the Technology__c
to get the count But when i access it in the visual force page I get the following error
System.SObjectException: SObject row was retrieved via SOQL without querying the requested field: Technology__c.count__c
The following is the visualforce page code
<apex:pageBlockTable title="Technologies" value="{!AllTechnologies}"
var="t">
<apex:column value="{!t.Name}" headerValue="Technologies" />
<apex:column value="{!t.count__c}" headerValue="Count" width="20%">
</apex:column>
</apex:pageBlockTable>