Hi

I created a new module and created the relate field 'account' in layout list view (view image link).

http://www.dibconsulting.com/sites/images/account1.jpg

When I click 'select', I want to appear that only the 'prospect' accounts.

I create new field 'account_type' in popup window and can resolve this in search selecting 'prospect'. But I want this automatic.

How can I do that? I am a query where "accounts.account_type = 'prospect'? What file can I do this query?

Thanks for yours replies