Y
эээ... думаю, что если нулевой вид не отсортирован по Name или ProcessorID, то килограмм будет по гривен 10Ну раз пошла такая пьянка.
Что быстрее, взять документ по UNID или по NoteID?![]()
ну мне нужно создать масив значений UNID документов коллекции
dim col as NotesDocumentCollection
dim doc as notesdocument
dim unidArray as variant
dim i as long
set col = {getting the collection}
if col.Count > 0 then
redim unidArray (0 to col.Count)
set doc = col.GetFirstDocument
set i = 0
while not(doc is nothing)
unidArray(i) = doc.universalID
i = i + 1
set doc = col.GetNextDocument(doc)
end while
end if
dim col as NotesDocumentCollection
dim doc as notesdocument
dim unidArray as variant
set col = {getting the collection}
if col.Count > 0 then
set doc = col.GetFirstDocument
while not(doc is nothing)
if isArray(unidArray) then
redim preserve unidArray (lbound(unidArray) to ubound(unidArray) + 1)
else
redim unidArray (0 to 0)
end if
unidArray(ubound(unidArray)) = doc.universalID
set doc = col.GetNextDocument(doc)
end while
end if
Взломай свой первый сервер и прокачай скилл — Начни игру на HackerLab