Serendipityww
Registered User.
- Local time
- Today, 23:31
- Joined
- Sep 6, 2000
- Messages
- 18
Scenario: The class has 3 technique checks. If the student makes an A (11) or A- (10) on Tech1 and Tech2, then he won't take Tech3. If the student doesn't make an A or A- on each of the first two then he will take the third technique check.
I need a function to use on a form (actually public as I will also use it with other forms) that will average the two highest technique grades and then multiply by a percent which varies with the course. I have tried an If statement, a case statement, and a bubble sort but can't get it to work.
Also, some courses have two technique checks and others have three or four. That is why I was trying to do a bubble sort. Can I do all with one function or do I need to make a separate function depending on how many technique checks there are?
My VB skills are intermediate. Thanks so much for your help. This forum has saved me from many headaches.
I need a function to use on a form (actually public as I will also use it with other forms) that will average the two highest technique grades and then multiply by a percent which varies with the course. I have tried an If statement, a case statement, and a bubble sort but can't get it to work.
Also, some courses have two technique checks and others have three or four. That is why I was trying to do a bubble sort. Can I do all with one function or do I need to make a separate function depending on how many technique checks there are?
My VB skills are intermediate. Thanks so much for your help. This forum has saved me from many headaches.