Print Page | Close Window

group by in code

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=8823
Printed Date: 20 September 2024 at 6:01am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: group by in code
Posted By: gaudetm
Subject: group by in code
Date Posted: 18 November 2007 at 8:47am
HI, I would like to know how to reproduce this in code only no user intervention at all.
 



Replies:
Posted By: sserge
Date Posted: 19 November 2007 at 5:33pm
A quote from our sample application:

    'This code below will add a column to the GroupOrder collection of columns.
    'This will cause the columns in the ReportControl to be grouped by column "COLUMN_FROM",
    'which has an index of zero (0) in the GroupOrder collection. Columns are first grouped
    'in the order that they are added to the GroupOrder collection.

    wndReportControl.GroupsOrder.Add wndReportControl.Columns(COLUMN_FROM)


--
WBR,
Serge



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