Examples: GotoBottom method

This script moves the cursor to the last field on the document when the user creates a new document.

Sub Postopen(Source As Notesuidocument)
  If source.IsNewDoc Then
    Call source.GotoBottom
  End If
End Sub