fluffyozzy
Registered User.
- Local time
- Today, 23:01
- Joined
- May 29, 2004
- Messages
- 63
Hi everyone,
I have searched the VB forums and have found several very useful pointers but still couldn't solve the problem, so here it is.
I am trying to design a multiple choice test. Each question belongs to a criteria (there are 106 different criteria). Each criteria has 2 or 3 multiple choice questions. First, I would like to choose 1 question from each criteria (producing 106 questions for the pot). Then, would like to randomise these results to produce a table containing 40 questions. So, I need to perform two randomisations within the same function (I think). My question table links to criteria table by CriteriaID field.
I have looked at Mile-O-Phile's multiple choice test database (very useful initially) but I'm very new to programming and cannot seem to figure out what I need to do to first to randomise within a criteria, so I don't get more than 1 question per criteria. At the moment, I only managed to modify Mile's code so it picks up 40 questions from the whole table, which is not exactly what I'm after.
I hope this is clear and I would really appreciate some help on this one. Once I know how to do this, I will be able to apply the same method to other tests I need to do.
Please help.....
I have searched the VB forums and have found several very useful pointers but still couldn't solve the problem, so here it is.
I am trying to design a multiple choice test. Each question belongs to a criteria (there are 106 different criteria). Each criteria has 2 or 3 multiple choice questions. First, I would like to choose 1 question from each criteria (producing 106 questions for the pot). Then, would like to randomise these results to produce a table containing 40 questions. So, I need to perform two randomisations within the same function (I think). My question table links to criteria table by CriteriaID field.
I have looked at Mile-O-Phile's multiple choice test database (very useful initially) but I'm very new to programming and cannot seem to figure out what I need to do to first to randomise within a criteria, so I don't get more than 1 question per criteria. At the moment, I only managed to modify Mile's code so it picks up 40 questions from the whole table, which is not exactly what I'm after.
I hope this is clear and I would really appreciate some help on this one. Once I know how to do this, I will be able to apply the same method to other tests I need to do.
Please help.....