Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old May 26th, 2004, 10:57 AM
Registered User
Join Date: May 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Cross-tab group options - change dynamically


I’m using VB.Net to do a simple reporting module.
I have a report set up with a cross-tab.
The column I am trying to change dynamically is a DateTime column.
The group option for this column has been set to monthly.
How can I change the group options (to 6 monthly, quarterly, yearly, etc) programmatically?



PS I have done this for a 'group column' using the
following code - but now I need to do the same thing to a table column

Dim cReport As CrystalReports.Engine.ReportDocument
cReport = New RPT_MY_REPORT
Dim grpGroupOptions As CrystalReports.Engine.GroupOptions
grpOptions = cReport.DataDefinition.Groups.Item(0).GroupOptions
grpOptions.Condtion = rptType

' rptType
' 4 = Monthly
' 5 = Quarterly
' 6 = Six Monthly
' 7 = Yearly

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cross tab problem sanjivbshinde Crystal Reports 0 August 21st, 2007 11:36 PM
cross tab help drachx SQL Server 2000 3 October 24th, 2005 03:26 PM
help with cross tab kondapally Crystal Reports 0 August 25th, 2005 09:11 AM
cross tab s_a_ravi BOOK: Professional Crystal Reports for VS.NET 0 February 17th, 2005 06:49 AM
Cross Tab ? abdusalam Crystal Reports 2 July 25th, 2004 11:44 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.