• Muthukumar Chinnachamy
  • NEWBIE
  • 0 Points
  • Member since 2021

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
Hi,

I have created a simple visualforce page with a standard controller, but it's not fetching the data from the Account object.please help me.Below is my code snippet.
<apex:page standardController="Account" recordSetVar="Account">
 <apex:form >
  <apex:pageBlock title="All Accounts">
   <apex:pageBlockTable value="{!Account}" var="a">
    <apex:column value="{!a.Name}"/>
    <apex:column value="{!a.AccountNumber}"/>
   </apex:pageBlockTable>
  </apex:pageBlock>
 </apex:form>
</apex:page>

any help would be appreciated