You need to sign in to do that
Don't have an account?
Arup
How to override look up window in VF
How can I override the look up window for custom object in visualforce page so that I can wrtite some SOQL query to retrieve the values from another table or field dynamically through look up window. Please Give ths code.
I've written a couple of blog posts on this topic:
http://bobbuzzard.blogspot.com/2010/09/visualforce-lookup.html
http://bobbuzzard.blogspot.com/2011/02/layered-visualforce-lookup.html
These should get you started.
If you are using standard page layout to show the lookup field then you can not achieve this. Yes but definitly you can use lookup filter feature is you want only some filtered records.