How do I give a field on my form a value in lotus script? I have a field named status on my form and on my submit- button I have lotus script code that among other things saves and closes the form when you press it! I would like the button to also set a value in my status field… I hope you understand my question!
Here is my code so far:
Sub Click(Source As Button)
' Declare all variables
Dim workspace As New NotesUIWorkspace
Dim session As New NotesSession
Dim uidoc As NotesUIDocument
Dim view As NotesView
Dim db As NotesDatabase
'Set all variables
Set uidoc = workspace.CurrentDocument
Set db = session.CurrentDatabase
Set view = db.GetView( "§DocumentNo" )
'Save current document, refresh “§DocumentNo” view