Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > .NET 2.0 and Visual Studio. 2005 > Visual Studio 2005
|
Visual Studio 2005 For discussing Visual Studio 2005. Please post code questions about a specific language (C#, VB, ASP.NET, etc) in the correct language forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Studio 2005 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 April 6th, 2009, 10:40 AM
Authorized User
 
Join Date: Nov 2007
Posts: 67
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Hughesie78
Default Changing the order of group in a crystal report

Have a VB.NET windows app, which calls a Crystal report and passes parameters based ion values selected in drop down lists, listboxes etc.
This works fine.
But I want to change the grouping in the report based on a radio button
So in the .rpr file I have 3 groups, table.fieldA, table.fieldB, table.fieldC

Based on which 3 differ radio buttons are selected I want to be able to change my report programmically, and im looking for some help/sample code as to how to do this, ive been looking at the .
Here is a for loop which ive got woring ot be able to see what the groups are in the report, not even sure if I am on the right path.:

Dim groupform As GroupNameFieldDefinition
ForEach groupform In crReportDocument.DataDefinition.GroupNameFields

EndIf

Please help!
__________________
Thank You





Similar Threads
Thread Thread Starter Forum Replies Last Post
CRYSTAL REPORT 9 Changing Connection Properties aquiintac VB Components 0 November 6th, 2007 05:17 AM
Changing Database location for crystal report swarnapy VB How-To 0 August 27th, 2006 11:37 PM
Crystal Report Changing Orientation garrysmith68 Beginning VB 6 0 June 6th, 2006 06:42 AM
Change group at run time in Crystal Report 9.0 by priyank Beginning VB 6 0 January 6th, 2006 06:11 AM
changing Password dynamically in crystal report irfanthegame Crystal Reports 0 October 7th, 2005 06:59 AM





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