Guys, was wondering if anyone could help me out. I have a multi record block which displays about 10 rows on the screen to user, I have also added a button to this multi record block so there is 10 buttons, each button beside the corresponding row. When I click the button it processes the data in the current row and gives out a result, however it doesnt seem to work like that. If I query back and have 10 records displayed on the screen and then click the 5th button down which should process the data for the 5th record down it actually processes the data for the first record where the cursor currently is after the first query. Is there anyway I can get the cursor to go down to the record which corresponds to the button pressed? IE if i manually click on a record and then any of the buttons it processes whatever record the cursor is on, but I want it to automatically go to the record corresponding to the button when the button is pressed?
Do you have your button in the same block as the items? It sounds like the button might be in its own database block which is why the rows don't match up. If that is the case then either move the button into the same block as the items, then row 5 for the button is the same row for that record, or you could add logic to your WHEN-BUTTON-PRESSED trigger that would navigate to the block that the items are in and move to the same record, but that would be a little whacky.