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
FilikinFilikin 

Lookup to show all accounts

I have a contact with a lookup to an account - when the user selects the lookup, I need him to be able to see all accounts - not just recent or those beginning with a certain letter.

 

Is there any way to do this?

 

The plan is to then use the enhanced lookup filter to allow him to filter on the town and city fields.

Ispita_NavatarIspita_Navatar

Hi,

 

 

 If you want to show all accounts you can use lookup filter functionality on contact field account on the basis of condition you will provide to it. You can show all accounts on the basis of record type as well.

 

 

Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved. 

 

FilikinFilikin

no, I am still only seeing recently viewed records.

I want the lookup to show all records

Devendra@SFDCDevendra@SFDC

 

Hi,

 

That's the way standard lookup works..:(

 

It displays recently viewed records.

 

But you can improve search results using wild card characters.

 

Here is the documentation for improving search results,

https://login.salesforce.com/help/doc/en/search_lookupdialog.htm

 

 

Promote the idea for "

Show all records in lookup search",

http://success.salesforce.com/ideaView?id=08730000000BpkOAAS

 

To display All records, you can create Custom Lookup functionality on VF page,

 

Please refer the below link, This is an excellent blog from Bob Buzzard on this.

 

http://bobbuzzard.blogspot.com/2010/09/visualforce-lookup.html

 

Hope this helps.

 

Thanks,

Devendra