function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Will EdwardsWill Edwards 

How do I show only the leftmost 500 characters of a field in a pageBlockTable?

This is the line I'm trying to fix:
 
<apex:column headerValue="Status" headerClass="headerStyle" value="{!con.Status__c}" />

This doesn't work:
 
<apex:column headerValue="Status" headerClass="headerStyle" value="{!LEFT(con.Status__c,500)}" />

Thanks
FearNoneFearNone
this might help:
<apex:column headerValue="Status" headerClass="headerStyle">
    <apex:outputText value="{!LEFT(con.Status__c,500)}"/>
</apex:column>

 
Will EdwardsWill Edwards
FearNone, I got the following error: "Syntax error. Missing ')'"

Any ideas?
FearNoneFearNone
the code I provide is syntax okay. that error is somewhere else.