Sounds like you have code running somewhere that you don't expect. Have you set a breakpoint to track when the record pointer moves in the grid's recordsource?
Frank.
Frank Cazabon
On 16/11/2018 12:49 PM, Kent Belan wrote:
Hello, I have a weird problem with a grid on a locate screen that I have never noticed before.
I have a maintenance screen with a locate button, that opens a modal search form with a grid to select a record.
When I load the grid with several hundred records the first time it loads fine at the top of the file.
The user selects a record and I return to the maintenance form and show the record details.
If the user clicks the locate button again, I load the search form with the grid and position the cursor to the record that was previous selected and the grid shows the correct record.
The problem is when the user clicks on the grid, it repositions itself to the first page of the grid and now we are on the wrong record.
Very weird ... Has anyone seen this behavior and possible solution ?
Thanks, Kent
[excessive quoting removed by server]