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
Data Migration 5Data Migration 5 

Custom Lookup

I have a custom lookup field from Opportunity onto contact object. For this lookup, we have a filter that only allows contacts that are cretaed under the same account as opportunity. When the user tries to populate this field from opportunity standard page layout, it is only showing up recently visited contacts. Is the contact is not browsed for long time, it doesnt showup for the user to select it. How to overcome this issue?
ShashankShashank (Salesforce Developers) 
Using Enhanced Lookups, you can see more options and more results which match the filter criteria: https://help.salesforce.com/apex/HTViewHelpDoc?id=search_lookupdialog.htm&language=en