Print Page | Close Window

Sort ReportControl

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=7286
Printed Date: 10 November 2024 at 12:47am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Sort ReportControl
Posted By: moe188
Subject: Sort ReportControl
Date 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!



Replies:
Posted By: moe188
Date Posted: 03 June 2007 at 9:20pm

hello,

any idea please


Posted By: mlatona
Date Posted: 04 June 2007 at 9:02am
Hi,
 
reportcontrol.SortOrder.Add reportcontrol.Columns(2)
reportcontrol.Populate


Posted By: moe188
Date 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,
 



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