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


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