Refer to a field in Advanced search

Hello,
in my advanced search I have a field katalog_kurs.Kurs_ID which is filled by a select statement.
In my php code I want to refer to this field. I tried {katalog_kurs.Kurs_ID} but it’s empty. Is there a way to get this field ??

Thanks
Uwe