Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Grouping

Status
Not open for further replies.

sabeeha08

MIS
May 5, 2010
18
GB
Information
Method of study ( needs to be calculated) Type ( data form system)

Taught course part time FEEDER or INTENSIVE or BESPOKETAU or BESPOKEIN
Revision WEREV or QBREV or STDREV
Taught course and revision (FEEDER or BESPOKETAU) and (WEREV or QBREV or STDREV)
Distance learning and revision (BASIC or BASICOL or BASICPLUS) and (WEREV or QBREV or STDREV)



data form system


Cust Type Paper

1 FEEDER P1
1 WEREV P1
1 BESPOKEIN P2
2 BASIC P3
2 STDREV P3
3 FEEDER P1
3 BESPOKEIN P3



output required


cust method of study P1 P2 P3 ( hence the papers)

1 Taught course and revision 1 0 0
1 Taught course part time 0 1 0
2 Distance learning and revisio 0 0 1
3 Taught course part time 1 0 1


grouping will be required on cust and Method of study,


CR var 8.5 DB Oracle

if any one can suggest how i can approach this, since i am struggling to do this grouping since it need to be calculated for multiple situations
any help will be much appreciated

thanks
 
Sorry Ian, may be i am not doing this right, but unless i summarise on paper i cant get to this position, the data you see below is what i get after summering by cust/paper/type, if i summarise on cust/type only then i cant work out what combination of type a student had for a paper, which is key grouping by method of study

currently this is how i get the data after grouping by Cust/paper/type

thanks


bp paper type num
0001922 E3 BASICPLUS 10
0001922 F3 BASICPLUS 10
0003961 E3 FEEDERQBREV 3
0003961 F3 FEEDERQBREV 3
0003961 P3 FEEDERQBREV 3
0003964 E3 QUESTDAY 50
0009169 E2 FEEDER 1
0009169 F1 FEEDER 1
0009909 E3 FEEDERQBREV 3
0009909 F3 FEEDER 1
0009909 P3 FEEDER 1
0010456 E3 FEEDERWEREV 3
0010456 F3 FEEDERWEREV 3
0010456 P3 FEEDERWEREV 3



Information
Method of study ( needs to be calculated) Type ( data form system)

Taught course part time FEEDER or INTENSIVE or BESPOKETAU or BESPOKEIN
Revision WEREV or QBREV or STDREV
Taught course and revision (FEEDER or BESPOKETAU) and (WEREV or QBREV or STDREV)
Distance learning and revision (BASIC or BASICOL or BASICPLUS) and (WEREV or QBREV or STDREV)
 
Then you will have to insert same report in again as a subreport and then group cust/type for the paper summary as discussed above.

Save your existing report with new name, then add new report as sub report.

Ian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top