Group Fields runtime customization - Web Forms viewer?
From: david (dmcheng1_at_yahoo.com)
Date: 03/29/04
- Next message: Woody Splawn: "VS 2002, 2003 and CR 9 install sequence"
- Previous message: Woody Splawn: "CR and ADO.net and datasets - question"
- Next in thread: Brian Bischof: "Re: Group Fields runtime customization - Web Forms viewer?"
- Reply: Brian Bischof: "Re: Group Fields runtime customization - Web Forms viewer?"
- Messages sorted by: [ date ] [ thread ]
Date: 29 Mar 2004 09:37:55 -0800
Hello. Newbie question here. I am using VS .NET 2003 and the
included Crystal Reports .NET. I have built an ASPX page that
displays a grouping report using the report viewer. I would like the
end-user to be able to choose the grouping field from a dropdown list.
I've tried the sample code in the Crystal Help for .NET and it doesn't
work for me. Does this code only work for report objects and not for
the viewer control?
FieldDefinition FieldDef = new FieldDefinition ();
FieldDef = Report.Database.Tables [0].Fields [comboBox1.Text];
Report.DataDefinition.Groups [0].ConditionField = FieldDef;
I tried the sample code for changing the Selection Formula and that
worked fine, but there were different code sections for viewer control
and report object. Does this mean that the parameter/sort/group field
runtime customizations can't be done in the viewer control? How do I
make this available for end-users, then?
I should say that I am using C#, not VB .NET. (I couldn't find a
newsgroup for C# and Crystal.)
Thanks
David
- Next message: Woody Splawn: "VS 2002, 2003 and CR 9 install sequence"
- Previous message: Woody Splawn: "CR and ADO.net and datasets - question"
- Next in thread: Brian Bischof: "Re: Group Fields runtime customization - Web Forms viewer?"
- Reply: Brian Bischof: "Re: Group Fields runtime customization - Web Forms viewer?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|