vishalsethia
Programmer
Hi,
I am using Visual Studio 2003 along with the Crystal reports bundle.
I waned to do a dynamic grouping on the fields based on what user selects.
I basically have 4 levels of grouping . Based on Department name, Class Rank, Last Name and First Name.
IF the user does not group by Department and Class rank, then I try to supress the department grouping by giving a formula under section expert for supress (x+2) of department. Hence the department names are not displayed.
Similar thing is done for Class rank.But the sorting of lname and fname are still based on departments, which is a problem
I hope I am making sense.
For eg.
If Department D1
Class Rank U01
James Kelly
Sam Manuels
Department D2
Class Rank U02
Adam Sinclair
Matthew Hayden
Now if i try to supress departments and Class rank
The report would generate
James Kelly
Sam Manuels
Adam Sinclair
Matthew Hayden
which I dont want.....
I want it as
Adam Sinclair
James Kelly
Matthew Hayden
Sam Manuels
I would basically want the grouping to happen based on what user selects. Any help would be greatly appreciated
--Vishal
I am using Visual Studio 2003 along with the Crystal reports bundle.
I waned to do a dynamic grouping on the fields based on what user selects.
I basically have 4 levels of grouping . Based on Department name, Class Rank, Last Name and First Name.
IF the user does not group by Department and Class rank, then I try to supress the department grouping by giving a formula under section expert for supress (x+2) of department. Hence the department names are not displayed.
Similar thing is done for Class rank.But the sorting of lname and fname are still based on departments, which is a problem
I hope I am making sense.
For eg.
If Department D1
Class Rank U01
James Kelly
Sam Manuels
Department D2
Class Rank U02
Adam Sinclair
Matthew Hayden
Now if i try to supress departments and Class rank
The report would generate
James Kelly
Sam Manuels
Adam Sinclair
Matthew Hayden
which I dont want.....
I want it as
Adam Sinclair
James Kelly
Matthew Hayden
Sam Manuels
I would basically want the grouping to happen based on what user selects. Any help would be greatly appreciated
--Vishal