Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
9
u SearchDomino
g
c
Search the TechTarget Network
s
o
i
n
Random Documents
z f
byRobert Reese
Domino Resources 0
+ Show More
Download Now
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
You also agree that your personal information may be transferred and processed in the United States, and that you have read and agree to the Terms of Use and the Privacy
Policy.
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.
http://searchdomino.techtarget.com/tip/RandomDocuments 1/4
5/1/2017 RandomDocuments
example usage:
forall x in outlist
doc = view.getnthdocument(x)
endforall
u--or--
cforall x in outlist
doc = collection.getnthdocument(x)
sendforall
oAny questions on this scripts can be sent to me at:
redline@thereeses.net
iCustom test dbs can also be developed.. for a price of course ;-)
Option Public
nDim tarray() As Integer
Dim outlist() As Integer
Dim total_questions As Integer
Sub Initialize
Call randomizer()
End Sub
Function randomizer()
Dim anum As Integer
Dim how_many As Integer
Dim place As Integer
http://searchdomino.techtarget.com/tip/RandomDocuments 2/4
5/1/2017 RandomDocuments
c
s
2 IBM to buy customer data integrator DWL
o
i2 Get your shades: Lotus looks bright again
n
2 IBM's Goyal challenges Microsoft at Lotusphere
Load More
AddMyComment
-ADS BY GOOGLE
GartnerReportSaaSData
Protect&BackupYourSaaSAppsDataIncludingO365,GApps,SalesforceGotogo.druva.com
WINDOWS SERVER AS/400 ENTERPRISE LINUX DATA CENTER EXCHANGE CONTENT MANAGEMENT
5
SearchWindowsServer
Longtime Windows Server administrators can turbocharge their careers by building expertise with these IT skills in demand today.
http://searchdomino.techtarget.com/tip/RandomDocuments 3/4
5/1/2017 RandomDocuments
Weigh Windows Server 2016 new features before committing
u
c
sAs older versions of Windows Server age, businesses will consider a Windows Server 2016 upgrade. Containers and application ...
o
i
About Us Contact Us Privacy Policy Advertisers Business Partners Media Kit Corporate Site Contributors
n
Reprints Archive Site Map Answers E-Products Events Features
http://searchdomino.techtarget.com/tip/RandomDocuments 4/4