I have a simple app which has one main form with two tabs. The 1st contains a grid which the user can sort any of the columns to help them locate cases. The 2nd tab contains the data about each case and has wizard buttons to enable them to add, edit and delete info.
The activate method of tab 2 calls a refresh so that the correct data is displayed.
The problem I am encountering is that when the user selects a mid-table record, clicks "edit" and then "revert", the pointer jumps back to the 1st record. I've tried saving the current recno() to a variable and then issuing a goto after the revert code has been executed, but to no avail.
Any ideas?
The activate method of tab 2 calls a refresh so that the correct data is displayed.
The problem I am encountering is that when the user selects a mid-table record, clicks "edit" and then "revert", the pointer jumps back to the 1st record. I've tried saving the current recno() to a variable and then issuing a goto after the revert code has been executed, but to no avail.
Any ideas?