.

HCLSoftware Business Partner
Domino Consulting Services
CRUCIAL Notes Tools
+1 212-599-2048

Domino Consulting Services
CRUCIAL Notes Tools
Domino administration
Notes development

Facebook Twitter YouTube
Chat now       
.
ProductsDownloadsNewsAbout usContact


Need a Domino Consultant? Call NotesMail +1 212-599-2048 - HCLSoftware Business Partner

LOTUSSCRIPT/COM/OLE CLASSES


Examples: RefreshHideFormulas method
This script recalculates the hide-when formulas on the current document whenever a user exits a particular field. For example, a graphic on a form is hidden whenever Status = "Draft." The following script runs whenever the user exits the Status field. Therefore, when the user changes the Status field to "Draft" and exits the field, the graphic is hidden; when the user changes the Status field to "Final" and exits the field, the graphic is displayed.

Sub Exiting(Source As Field)
 Dim workspace As New NotesUIWorkspace
 Dim uidoc As NotesUIDocument
 Set uidoc = workspace.CurrentDocument
 Call uidoc.RefreshHideFormulas
End Sub

See Also