Print Page | Close Window

After sorting, row order position is incorrect

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=17070
Printed Date: 10 May 2024 at 6:54am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: After sorting, row order position is incorrect
Posted By: mellysully
Subject: After sorting, row order position is incorrect
Date 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.
 
 



Replies:
Posted By: mellysully
Date 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


Posted By: Aaron
Date Posted: 16 August 2010 at 2:28pm
Hi,
 
See post http://forum.codejock.com/forum_posts.asp?TID=17107 - 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....



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net