Home > Ask the Domino Experts > ARCHIVE: LotusScript and Web Development Questions & Answers > Displaying info. in the order it appeared in the view
Ask The Domino Expert: Questions & Answers
EMAIL THIS

Displaying info. in the order it appeared in the view

Dave Hatter EXPERT RESPONSE FROM: Dave Hatter

Pose a Question
Other Domino Categories
Meet all Domino Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 09 May 2002
When getting unprocessed records in the agent, I am selecting "Selected Documents" to process a view. Then one by one on display that item appears in a pop up window. I need to have them in numeric order, like they where selected. Any suggestions?

>
I created the following simple LotusScript agent to test this. And in my testing, every time I ran the agent, the message box displayed the information from the selected documents in the order they appeared in the view? I have been unable to reproduce this problem.

' Last mods 020518. 103401 - dhatter@libertastechnologies.com -www.libertastechnologies.com
Dim nsCurrent As New NotesSession
Dim ndbCurrent As NotesDatabase
Dim ndcSelected As NotesDocumentCollection
Dim ndocSelected As NotesDocument
Set ndbCurrent=nsCurrent.CurrentDatabase
Set ndcSelected=ndbCurrent.UnprocessedDocuments
Set ndocSelected=ndcSelected.getFirstDocument
Do While Not ndocSelected Is Nothing
	Msgbox ndocSelected.tLink(0)
	Set ndocSelected=ndcSelected.getNextDocument(ndocSelected)
Loop


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
ARCHIVE: LotusScript and Web Development
"Field or view column exceeds 32 Kb" errors from the @DBLookup formulas
Agent to open an Excel file and pass the URL on for a Web query?
WebQueryOpen/Save agent problem
Using the function @DialogBox in a Web application
Code for validation on a field
Display from my Web page an an online link using Excel
Code used for the HTML head content section
Creating a dynamic menu
Using @Unique
Using VB script on a Web server and submitting online forms to a Lotus database

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Lotus Notes Domino on Blackberry and mobile devices
HomeTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersDomino IT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts