+ Start a Discussion
raju123raju123 

How to get Formula Fields in Visualforce page in Outputtext or outputField

Hi,

  

 I Want to know How to get Formula Fields in Visualforce page in Outputtext or outputField  .

I have tried to retrive Formula fields in noraml way  like

 

                <apex:outputtext   value="{!objname.formulafieldname}"/>

 

All other Fields are getting Values but I Cant able to display Formula fields on Visualforce.

 

 

Please Can any body Help me .

kiranmutturukiranmutturu

if it is a direct access from the object with out quesying u wont get that.. u need to query and get that value...

raju123raju123

Hi Kiran,

 

                    My Req,   I want to check a variable as Number or not in Controller not in javascript. Is there any Function for this

recharlarecharla

what is the query  we need to use??

Koustubh KulkarniKoustubh Kulkarni
can anyone give any example of how to querry formula field based on value of another field?