Skip to main content
BlueMix free trial
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Forums & community  >  Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum

developerWorks

  

Sign in to participate PreviousPrevious NextNext

RE: How to random select documents from a collection of a view?
Peter Cong 18.Feb.06 07:54 PM a Web browser
Domino Designer 6.5.5 Windows XP


Hi,Andre:
Thanks a lot for the help,
This is my question: in one word, I want to randomly get some of documents from a notes document collection. according some category and random number, the user will get the notes document collection from a notes view,The random number will be selected by the user. basically the user will get the a notes document collection first, then after they enter the random number from the pop - up box, for example:20, then the program will randomly select 20 documents from the collection he got from the first step.

So my question is the way to get the notes document collection from the view, using notesview.FTSearch, the result will be sorted, then if I get some of documents from this result, they are not randomly selected, this is not what I wanted, using the DB.Search, the result is not sorted,but I think it will use more time because it is searching the entire db. so do you have any other way, so I can get the result quickly and can randomly select the documents?
Yes, the rnd can be used to generate random number, I knew it, but on my case, the randomly number is entered by user, I just want random select documents from the collection .




How to random select documents from... (Peter Cong 17.Feb.06)
. . RE: How to random select documents ... (Andre Guirard 18.Feb.06)
. . . . RE: How to random select documents ... (Peter Cong 18.Feb.06)
. . . . . . RE: How to random select documents ... (Stan Rogers 18.Feb.06)
. . . . . . . . RE: How to random select documents ... (Peter Cong 18.Feb.06)
. . . . . . . . . . RE: How to random select documents ... (Stan Rogers 18.Feb.06)
. . . . . . . . . . . . RE: How to random select documents ... (Peter Cong 18.Feb.06)
. . . . . . . . . . . . RE: How to random select documents ... (Peter Cong 18.Feb.06)
. . . . . . . . . . . . . . RE: How to random select documents ... (Graham Richards... 20.Feb.06)
. . . . . . . . . . . . . . RE: How to random select documents ... (Kevin Pettitt 23.May.07)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Author
Category
Platform
Release
Advanced search

Sign In or Register

 Sign In or Register
Sign in
Forgot your password?
Forgot your user name?
Create new registration

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds

Resources

 Resources
Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support

 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds

Wikis

 Wikis
IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Connections Cloud Developers
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums


 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
IBM Connections
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
Lotus Enterprise Integration
Lotus Protector
Lotus Quickr
Lotus SmartSuite