Professional Documents
Culture Documents
Rakklksd
Rakklksd
Since there has been an influx of questions on how to make exams in Lotus Notes
with random questions..I figured I'd post my random document selector.
Things to note:
'total_questions' should be filled in programatically. It should reflect the
number of documents in your doc collection or view that you are going to select
docs from.
Once you have run randomizer() the outlist array will contain the document
number to use in getnthdocument.
example usage:
forall x in outlist
doc = view.getnthdocument(x)
endforall
--or--
forall x in outlist
doc = collection.getnthdocument(x)
endforall