Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - After sorting, row order position is incorrect
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

After sorting, row order position is incorrect

 Post Reply Post Reply
Author
Message
mellysully View Drop Down
Groupie
Groupie


Joined: 09 June 2009
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote mellysully Quote  Post ReplyReply Direct Link To This Post Topic: After sorting, row order position is incorrect
    Posted: 05 August 2010 at 4:42am
Hiya,
 
it works ok before sorting, but......
 
After sorting the column, index position is not right and point to the wrong record when I do this code.  This code moves to the record where it begins with the key letter I entered (using keyup event) to search for.
 
DO i = 0 TO nvcom1:records:COUNT - 1  :
  
    IF nvcom1:records(i):ITEM(0):VALUE BEGINS v-keychar THEN
    DO:
        Nvcom1:Navigator:MoveToRow(i,FALSE,FALSE).

        LEAVE.
    END.
              
END.
 
 
Back to Top
mellysully View Drop Down
Groupie
Groupie


Joined: 09 June 2009
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote mellysully Quote  Post ReplyReply Direct Link To This Post Posted: 05 August 2010 at 5:59am
Product: Xtreme SuitePro (ActiveX) version 13.0.0
Platform: Windows XP (32bit) - SP 2
Language: Progress OpenEdge 10.1.B
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 16 August 2010 at 2:28pm
Hi,
 
See post http://forum.codejock.com/forum_posts.asp?TID=17107 (it's VB but you will get the point )
 
 
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.