![]() |
Sort ReportControl |
Post Reply
|
| Author | |
moe188
Senior Member
Joined: 27 March 2006 Status: Offline Points: 225 |
Post Options
Thanks(0)
Quote Reply
Topic: Sort ReportControlPosted: 01 June 2007 at 4:59pm |
|
Hi,
I do have a reportcontrol with 5 column, and I want to knwo how can I be able to sort the reportconrol (by code) without having the user to click the column index 2.
Please help!
![]() |
|
![]() |
|
moe188
Senior Member
Joined: 27 March 2006 Status: Offline Points: 225 |
Post Options
Thanks(0)
Quote Reply
Posted: 03 June 2007 at 9:20pm |
|
hello, any idea please
![]() |
|
![]() |
|
mlatona
Senior Member
Joined: 19 April 2005 Location: Germany Status: Offline Points: 124 |
Post Options
Thanks(0)
Quote Reply
Posted: 04 June 2007 at 9:02am |
|
Hi,
reportcontrol.SortOrder.Add reportcontrol.Columns(2)
reportcontrol.Populate
|
|
![]() |
|
moe188
Senior Member
Joined: 27 March 2006 Status: Offline Points: 225 |
Post Options
Thanks(0)
Quote Reply
Posted: 04 June 2007 at 6:08pm |
|
thank you for the reply, I tried the same code before , but I dont get the result needed. okay, there is what I need to have. my report control with a column containing a time as value (AM/PM), and I want that whenever the user ask to dsiplay the report, the report will display the result sorted from AM up PM.
I hope I was clear enough.
thank you,
|
|
![]() |
|
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 |