i understood as if u need to display the search value at the top of the search record?
For instance let us assume that there is a search column called EMPNO, So when the user types the EMPNO, that particular value will be dispalyed.
Remember EMPFILE should be Keyed on EMPNO, Then Start reading the EMPFILE from the beginning , and when the search value exists , SETLL the EMPNO with the search value and load the files using Load all, I hope i would have solved the problem.
If i am wrong correct me.
The best way to handle this is by using embedded SQL to load your subfile. When someone types search criteria in on the screen, you can rebuild your SQL statement with a where clause searching for the criteria entered on the screen.