I have created an Agent to Run every Monday Morning that creates a Document “DOC_Minutes” which works however there are 2 Fields (“DateOfMeeting” & “meetingWeek”) that are not showing up in the View until I open then close the Form (Refresh). Is there some code that will refresh the Document before it saves to show up in the view correctly?I am new to LS and scratched the code together below from the Forum but cannot make anymore progress any help would be greatly appreciated.
Thanks & Regards,
Cleve.
Sub Initialize
Dim session As New NotesSession
Dim db As NotesDatabase
Dim doc As NotesDocument
Set db = session.CurrentDatabase
Set doc = db.CreateDocument
doc.Form = "DOC_Minutes"
Call doc.Save( True, True )
End Sub