Here is the scenario:
-
Notes 4.5x database.
-
Form set with the “Store form in document property”
-
Database has “Allow stored forms” on.
I have some code that looks like:
Sub Initialize
Dim ss As New NotesSession
Dim db As NotesDatabase
Dim edoc As NotesDocument
Dim nname As NotesName
Set db = ss.CurrentDatabase
Set edoc = db.CreateDocument
Set nname = New NotesName(ss.UserName)
edoc.Form = “Notification”
edoc.sendTo = nname.Abbreviated
edoc.subject = “The subject”
Call edoc.send(True)
End Sub
If I run this in a 4.5.x client with a replica of the database on any version server, it all works fine.
If I run this in a 6.5 client, with a replica of the database on any version server, it fails on the edoc.send(true) line, with the message:
“Notes error: Invalid or nonexistent document”.
To get around this, I can edit and save the form being used with a ND6.5 client and everything works fine again.
But that’s not desirable beacuse that would mean having to interrogate all databases.
Some feedback from Lotus would be appreciated on this issue and I would hope to see a fix in the next release of ND6.5.
Disclaimer:
I have not tested for this BUG in prior releases of Notes ND6 or R5.
Thanks
James Summerton
Eos Solutions
Brisbane QLD
Australia
james@eos-solutions.com.au