Wrong record is returned from Grid when sorted in UI
-
- Profound User
- Posts: 36
- Joined: Thu Jan 02, 2014 6:20 pm
- First Name: Brian
- Last Name: Lannoye
- Company Name: Dealertrack Technologies
- Phone: 801.617.1806
- State / Province: Utah
- Zip / Postal Code: 84095
- Country: United States
- Contact:
Wrong record is returned from Grid when sorted in UI
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.
- Attachments
-
- json.txt
- (350.46 KiB) Downloaded 61 times
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Wrong record is returned from Grid when sorted in UI
Just to make sure I understand... the problem is iwth the #HSRRN field, correct? It's coming back correct when the subfile has not been sorted, but if you sort it it's giving the wrong result.
Do I understand correctly?
Do I understand correctly?
-
- Profound User
- Posts: 36
- Joined: Thu Jan 02, 2014 6:20 pm
- First Name: Brian
- Last Name: Lannoye
- Company Name: Dealertrack Technologies
- Phone: 801.617.1806
- State / Province: Utah
- Zip / Postal Code: 84095
- Country: United States
- Contact:
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Wrong record is returned from Grid when sorted in UI
I think I see the problem here. You have the "return cursor" property set at the record-format level. There seems to be a bug in the "return cursor" support that it's overriding the value calculated for the "cursor record number" property with the physical row number on the display.
I will fix this for our next release.
I will fix this for our next release.
-
- Profound User
- Posts: 36
- Joined: Thu Jan 02, 2014 6:20 pm
- First Name: Brian
- Last Name: Lannoye
- Company Name: Dealertrack Technologies
- Phone: 801.617.1806
- State / Province: Utah
- Zip / Postal Code: 84095
- Country: United States
- Contact:
Re: Wrong record is returned from Grid when sorted in UI
Cool. Thanks for looking at it.
Who is online
Users browsing this forum: No registered users and 2 guests