Manage Learn to apply best practices and optimize your operations.

Another Evaluate Statement Example

Another Evaluate Example...use this code in the PostOpen or QueryOpen Event of the form...

 Dim session As New notessession Dim ws As New NotesUIWorkspace Dim doc As NotesDocument Dim user As String Set uidoc = ws.currentdocument Set doc = Source.Document user = session.commonusername v1 = Evaluate ({@Left(@UpperCase(EmailUser); "@")}, doc) v2 = Evaluate ({@ReplaceSubString(@UpperCase(@Name([CN];@UserName)); " ";".")}, doc) If v1(0) = v2(0) Then 'Msgbox "Yes" Continue = True Else Msgbox "You are not allowed to view this document" Continue = False End If

Dig Deeper on Domino Resources - Part 2

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




  • iSeries tutorials's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...