Topic: Combo Box Filter question

Hello, i have a combobox and i want to apply a filter to it that only shows records from a table, that has the same ID as the curent form.

I tried

orcproforma.assistencia_id = assistencia.id
but it doesn't work
neither $id , or just id or even main.tablegridassistencia.sqlvalue
what am i doing wrong?