LotusScript Sample Code to Compare View Entries/Docs to Array of Strings in a Field and Create/Update/Delete Docs Based on the Array

Mindwatering Incorporated

Author: Tripp W Black

Created: 07/11/2003 at 10:50 AM

 

Category:
Notes Developer Tips
LotusScript

This function compares an entry collection (the document values) to those in an field on another document.
If the array has a value not in the collection, it creates a new document, if there is an entry (document) not in the array, it deletes that document.
In other words, this functions as a type of replication between a key host document's field values and documents created/updated/deleted based on those values.
code.txt


previous page