Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Sort ReportControl
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Sort ReportControl

 Post Reply Post Reply
Author
Message
moe188 View Drop Down
Senior Member
Senior Member


Joined: 27 March 2006
Status: Offline
Points: 220
Post Options Post Options   Thanks (0) Thanks(0)   Quote moe188 Quote  Post ReplyReply Direct Link To This Post Topic: Sort ReportControl
    Posted: 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!
Back to Top
moe188 View Drop Down
Senior Member
Senior Member


Joined: 27 March 2006
Status: Offline
Points: 220
Post Options Post Options   Thanks (0) Thanks(0)   Quote moe188 Quote  Post ReplyReply Direct Link To This Post Posted: 03 June 2007 at 9:20pm

hello,

any idea please
Back to Top
mlatona View Drop Down
Senior Member
Senior Member


Joined: 19 April 2005
Location: Germany
Status: Offline
Points: 124
Post Options Post Options   Thanks (0) Thanks(0)   Quote mlatona Quote  Post ReplyReply Direct Link To This Post Posted: 04 June 2007 at 9:02am
Hi,
 
reportcontrol.SortOrder.Add reportcontrol.Columns(2)
reportcontrol.Populate
Back to Top
moe188 View Drop Down
Senior Member
Senior Member


Joined: 27 March 2006
Status: Offline
Points: 220
Post Options Post Options   Thanks (0) Thanks(0)   Quote moe188 Quote  Post ReplyReply Direct Link To This Post 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,
 
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.