![]() |
Displaying correct row count |
Post Reply ![]() |
Author | |
shagge22 ![]() Newbie ![]() ![]() Joined: 21 November 2006 Status: Offline Points: 14 |
![]() ![]() ![]() ![]() ![]() Posted: 06 December 2006 at 10:11am |
In the application that I am building each row in the report control represents a document. In the status bar I am displaying which document the user is on. It works fine if the user does not have the items grouped. Once the items have been grouped the count is incorrect. I understand that the grouprow counts as a row. Is there a way to display the correct row that the user is on? Here is the code that I am current using to display the number of documents or rows in the listing. Cmd_Bar.StatusBar.Pane(3).Text = "Document " + cstr(Rpt_List.FocusedRow.Index + 1) + " of " + cstr(Rpt_List.Records.count) |
|
![]() |
|
sserge ![]() Moderator Group ![]() Joined: 01 December 2004 Status: Offline Points: 1297 |
![]() ![]() ![]() ![]() ![]() |
Create your function to calculate correct Row index, for example:
-- WBR, Serge |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |