GetAlldocumentsbyKEy

Hi all,

Hopefully this is not a stupid question:

I intend to get all documents of the same section of the same serial number. In the view, serial number is my first column and section is my next column.

array(0) = result 'result is my serial number

array(1) = “1”

Set docCollection = view.GetAllDocumentsByKey(array,True)

count = docCollection.Count

Print "counting"count

within my view, the section i do have 1,1.1,1.1.1,1.1.2 under the same serial number

but the count return me 0 why is tat so?

Thanx in advance

Best

Hengshi

Subject: GetAlldocumentsbyKEy

Hi

I think that your view is categorized with response-document…

You may have to use getAllEntriesByKey instead of getAllDocumentsByKey,

or to create another view not categorized.

HTH

ian

Subject: GetAlldocumentsbyKEy

Have u sorted both columns(1st & 2nd)

Thnks