LOTUSSCRIPT/COM/OLE CLASSES


Examples: Roles property
1. This script displays the name of every role in the current database. For example, it might display "[HR Contact]," "[Supervisor]," and "[Project Leader]."
2. This script lets the user enter a role name into a dialog box. The script then displays the name of each entry for which the role is enabled in a field (called People) on the current document. The script adds brackets to the role name that the user enters, and then uses the Roles property to make sure that the name exists in the current database. If not, an error message is displayed; if so, the script continues.
See Also