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
t.sellst.sells 

Look up field for a record

I hope this is an easy one. I want to create a VF page that will allow the user to look up a record for a custom object so that I can pass that record's ID to another class to perform an operation on it when user clicks the command button. I want the input box on the page to have the same behavior as that of a lookup field.

The use-case on this is similar to if I wanted to transfer all contacts for one account to another account. I would want the VF page to receive the source account's ID so the process could find all the contacts, but I want the use to be able to lookup the destination account from the page.

If anyone can point me in the right direction on this, it would be much appreciated. Thanks.

Todd

sambasamba

Can you do a page markup for me and send it to my email.

 

 

Thanks,

Samba