Could you please tell me why this simple agent does not create a new location document in “”,names.nsf
Sub Initialize
Dim db As NotesDatabase
Dim doc As NotesDocument
Set db = New NotesDatabase (“”,“names”)
Set doc = New NotesDocument( db )
doc.Form = “Location”
doc.name = “mail in database”
Call doc.save (True, True)
End Sub