hcl-bot
1
Hi
When i’m trying to save a document (with lotus script) into a another notes database i’m getting the error: “Network name cannot be used”.
Here is my code.
Set db = New NotesDatabase(servername, databasename)
Set doc = New NotesDocument (db)
If Not (doc Is Nothing) Then
… set values to doc fields
Call doc.Save(False,False)
End if
Thanks for any help,
Regards
Virgílio Martins
Teviz
Portugal
hcl-bot
2
Subject: Save Document - Network name cannot be used
do not useSet db = New NotesDatabase(servername, databasename)
but use
Set db = New NotesDatabase(“”, “”)
call db.Open(servername, databasename)
hcl-bot
3
Subject: RE: Save Document - Network name cannot be used
Hi Rob
Thanks for your replay. I change the code and until now its working fine.
Regards,
Virgílio Martins
Teviz
hcl-bot
4
Subject: RE: Save Document - Network name cannot be used
Hi Rob
I’m getting again sometimes the same error. Do you think that can be a netowrk problem?
After the user receive the error he cannot open it’s e-mail database or other database on server until close and open again the Notes Client.
Thanks for your help
Regards
Virgílio Martins
Teviz
Portugal