You need to sign in to do that
Don't have an account?
SolidLucas
query help
well guys i have a doubt about how to query parameters fields, those fields that we select they parameters value. i want a field that is a parameter search type, but i don't know who return his value on my visualForce page i've did it a select to see if my query is right and only return my field id.
someone could give me a example how to do those queies?
Thanks,Lucas!
apex code
public Account getAcc(){
Account a = [Select Id, Name, CustomField__c from Account LIMIT 1];
return a;
}
visualforce code
<apex:outputfield value="{!Acc.Name}"/>
<apex:outputfield value="{!Acc.CustomField__c}"/>