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
beatitbeatit 

How to convert a Text field to Look up in VF

Hi

I created a custom text field named Plot S.no ,i created a custom button Transfer ,when clicked opens a VF page with Plot sno,here i wantedplot sno as Look up field....

 

Any ideas please...!?

nagasnagas

lookup field can only be referenced for objects, is your plot is an object?

beatitbeatit

hi 

 

yes Plot is a custom object ..please can  you give me any ideas please 

mworld2mworld2

You must create the field as a lookup in your object. That is a separate field type from text.