LOTUSSCRIPT/COM/OLE CLASSES
Sub Querysave(Source As Notesuidocument, Continue As Variant) s = source.FieldGetText( "Status" ) Select Case s Case "New" : Call source.FieldSetText _ ( "SendTo", source.FieldGetText( "Manager" ) ) Case "Approved" : Call source.FieldSetText _ ( "SendTo", source.FieldGetText( "HRContact" ) ) Case "Rejected" : Call source.FieldSetText _ ( "SendTo", source.FieldGetText( "Employee" ) ) End Select Call source.Send End Sub
See Also