|

April 6th, 2009, 10:40 AM
|
|
Authorized User
|
|
Join Date: Nov 2007
Posts: 67
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|