+ Start a Discussion

To retrieve all records from Standard object i am facing problem with this code.

<apex:page standardController="account" recordSetVar="acc">
<apex:form >
<apex:pageBlock >
<apex:pageBlockTable value="{!acc}" var="a">
<apex:column value="{!a.name}"/>
<apex:column value="{!a.billingcity}"/>
<apex:column value="{!a.phone}"/>
<apex:column value="{!a.industry}"/>
<apex:commandLink value="first" action="{!first}" />
<apex:outputtext value=" || "></apex:outputtext>
<apex:commandLink value="last" action="{!last}"/>
<apex:outputtext value=" || "></apex:outputtext>
<apex:commandLink value="next" action="{!next}"/>
<apex:outputtext value=" || "></apex:outputtext>
<apex:commandLink value="previous" action="{!previous}"/>



with the above code i am able to get the recent entered records but not the old records .


pls help.


sometimes it happens please check dat same code in another browser