apply condition on lookup

hi all,

i have a look up on form control (made through EDT), is it possible to have values in this lookup based on condition.

for ex: if my lookup gives 5 customer account , then i want to show only 3 based on some condition

thanks

Follow this link, hope it will resolve you above problem.

http://yasirnedian.blogspot.com/2012/06/display-filtered-data-in-reference.html