I have created a search button, and I used this code when the key is pressed ::
if (name_in('SYSTEM.MODE') != 'ENTER-QUERY') then do_key('ENTER_QUERY');
and,, the problem is when I press it, it goes to the first record,,,, to visualize the problem,,
I have the following record,,
If I want to search by the number, once I click on the button, it goes to the year field,,,,,
How can I make it search according to the current item,,,,
hi, if your block is base-table, then you do not need to create a button, just use the icon on the tool bars provided by the Form.