here is sample of code:
ON ANY-PRINTABLE OF browseDropDown IN FRAME frameDropDown
DO:
IF KEYFUNCTION(LASTKEY) = "backspace"
OR KEYFUNCTION(LASTKEY) = "delete"
THEN
kaj = SUBSTRING(kaj, 1, LENGTH(kaj) - 1).
ELSE
kaj = kaj + LAST-EVENT:LABEL.
kaj:SCREEN-VALUE = kaj.
MESSAGE kaj
VIEW-AS ALERT-BOX.
GET FIRST queryDropDown.
FIND FIRST person WHERE person.name BEGINS kaj NO-LOCK NO-ERROR.
IF person.name BEGINS kaj THEN DO:
MESSAGE osoba.naziv
VIEW-AS ALERT-BOX.
REPOSITION queryDropDown TO ROWID rowid(person).
END.
ELSE
LEAVE.
END.
when I start program he finds first person, and after that he shows next error: can not reposition the query queryDropDown to recid/rowid(e)