+ Start a Discussion
sfdcksfdck 

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:pageBlockTable>
<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}"/>
</apex:pageBlock>
</apex:form>
</apex:page>

 

 

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

 

pls help.

neeruneeru

sometimes it happens please check dat same code in another browser