I am trying to develope school report making software but summing aggregates for 8 best done out of 12 subjects has become a problem. Part of my report is as below:
Subject Marks Aggregates
Math 90 1
Hist 75 3
Geo 30 9
Eng 85 2
A 60 4
B 55 5
C 70 3
D 55 5
E 82 2
F 67 4
G 30 9
H 31 9
May some one out there show me how to sum up the best 8 using the Query results. Remember the lower the aggregate the better the performance. The aggregates are generated from part of a query similar to the one below:
StdName MathAgg HistAgg GeoAgg EngAgg A.. B.. C.. D.. E.. F.. G .. H..
Konde Jim 1 3 9 2 4 5 3 5 2 4 9 9
Aggregate best 8 should give me: 1+2+2+3+3+4+4+5 =24. I have not shown how I employ the Immediate If on the marks scored to determine the aggregates.
HELP P'SE