Hi,
I looked up some other topics but i still don't quiet get it. I have this column

With a reference (look-up) like this

But what i want is a filter on this reference. In fact this is the query i want
select etd.* from entity_type_document etd, document_type dt where etd.document_type_choice = 'letter' and etd.document_type_guid = dt.guid and dt.name = 'rental_indexing'
So the dropdown / lookup only show the results of the entity_type_document table where the document_type_choice is letter instead of all the data.
How do i achieve this?