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
ssssssss 

how can we do lookups as in salesforce using apex with visualforce

hi,

 

I want to do the lookups as in sales force using visual force with apex.If any one knows plz send me the example that will be helpful to me.

 

Thanks in advance,

manu...

 

 

 

prageethprageeth

Hello ssss;

What do you mean by "I want to do the lookups" ?.

Do you want a way to browse for the lookup field. If so you can do it as in the below example. If your problem is another, could you please clarify further..?

 

 

<apex:page standardController="Opportunity">

<apex:form>

<apex:inputfield value="{!opportunity.accountId}"/>

</apex:form>

</apex:page>