例: IsAccentSensitiveSort property (NotesViewColumn- LotusScript®)

次のエージェントは、アクセントを区別して列がソートされるかどうかを切り替えます。

Sub Initialize
  Dim session As New NotesSession
  Dim db As NotesDatabase
  Dim view As NotesView
  Dim vc As NotesViewColumn
  Set db = session.CurrentDatabase
  Set view = db.GetView("View A")
  Set vc = view.Columns(0)
  If Not vc.IsSorted Then Exit Sub
  vc.IsAccentSensitiveSort = NOT vc.IsAccentSensitiveSort
End Sub