LOTUSSCRIPT/COM/OLE CLASSES


Examples: GetNextDocument method
1. This script gets the second document in a view.
2. This script shows how you can use a While loop and GetNextDocument to access every document in a view. The While loop exits when GetNextDocument returns Nothing, which means there are no more documents in the view. This construct is useful for a variety of cases; for example, this script checks to see that every document in the Open\By Due Date view is updated daily; if it isn't, the script sends mail to the document's authors.
See Also