Wrong record is returned from Grid when sorted in UI
Posted: Thu Sep 11, 2014 2:42 pm
I'm getting the wrong record returned when sorted and can't see where this grid is any different from grids that return the correct record. See above. If I select, for instance, the fourth row SAFEWAY TEST
the program returns a subfile record number of 4 with no problems. But, if I sort one of the columns, in this case Name, and click on TEST FOR KRAFT I still get a record number of 4 with SAFEWAY TEST returned. See below.
When I debug grids that return the correct record, the return number is different than the row number clicked. I've even tried recreating the display from scratch just to see if some got garbled in the original, but that didn't help.
the program returns a subfile record number of 4 with no problems. But, if I sort one of the columns, in this case Name, and click on TEST FOR KRAFT I still get a record number of 4 with SAFEWAY TEST returned. See below.
When I debug grids that return the correct record, the return number is different than the row number clicked. I've even tried recreating the display from scratch just to see if some got garbled in the original, but that didn't help.