@marman, would that not be
vb Code:
Dim radio as New RadioButton radio=RadioButton1
if i get your question correctly then i would place all the questions, answers in a list(of QA) {where QA would be defined by a structure containing Question, AnswerA,AnswerB etc and anything else (like score)} then i would create a random number function which would populate the list(of QA) with randomly selected questions from your database (ensuring in this function that you have not duplicated the question in the list already. It is then a case of using a For each loop to populate the form contents.




Reply With Quote