Hello
I have the serious problem now.
There was a case where the value from which a GetDocumentByKey method differs was returned.
Key is a text. It is not a numerical value.
I Thnik…
This is considered that the timing of the update Index in NotesView is caused.
'First :NotesView object is generated.
Set vw = NotesDatabase.GetView(“SampleView”)
’ The document with Key ‘ABC’ is contained in the entry of SampleView.
’ ------>Suppose that NotesView was updated from another process.(Another Agent)
’ Target document is updated and the entry of NotesView is changed.
’ As a result, the document with Key ‘ABC’ was removed by the entry of SampleView.
’
'Secound:GetDocumentBykey method called
set doc = vw.GetDocumentByKey(“ABC”)
'The document of key"CDE" which is the next entry is returned.
How is it?
Isn’t there any other information on such a phenomenon?
When returning the value from which GetDocumentByKey differs,I will be troubled very much.
I want to ask your opinion.