![]() |
Sorting problem. |
Post Reply ![]() |
Author | |
shrame ![]() Newbie ![]() Joined: 11 October 2006 Status: Offline Points: 1 |
![]() ![]() ![]() ![]() ![]() Posted: 11 October 2006 at 1:37pm |
Any reason why this would not let me sort it?
Dim rp As ReportColumn Dim Record As ReportRecord Dim Item As ReportRecordItem Dim i As Long Set rp = ReportControl1.Columns.Add(0, "Date", 200, True) For i = 0 To 1000 Set Record = ReportControl1.Records.Add Set Item = Record.AddItem("") Item.Caption = i Next i ReportControl1.Populate |
|
![]() |
|
sserge ![]() Moderator Group ![]() Joined: 01 December 2004 Status: Offline Points: 1297 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Correct would be to use "Item.Value = i" Problem is that in a way you implemented it, all items have same empty values. -- 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 |