Two questions about a view

Hello, We have a application designed by previous developers. Now we created a view, the view has three columns:

  1. @created–categorized

  2. @modified

  3. column totals

There are two questions about this view:

  1. the first category shows contains 2 documents, but I can not open the documents (can’t see the documents). The second category shows 10 documents which I can open each one.

  2. there is a document contains 6 FORM fields with the same name when I checked document property. How come there are more than one “FORM” fields in one document? I think there should only one “FORM” field in the document.

Thanks in advance.

Linda

Subject: Two questions about a view.

The first problem could be caused by the view’s QueryOpen returning Continue=false, or the form returning Continue=false.

The second issue is a result of multiple direct manipulation of the Form variable as a field, likely via LotusScript.

e.g. call doc.AppendItemValue(“Form”, “FormA”)

this can be remedied by using

call doc.ReplaceItemValue(“Form”, “FormA”)

Subject: RE: Two questions about a view.

Extanded class syntax (doc.Form = “FormA”) won’t do that. In order to create multiple summary items with the same name, the code would need to use AppendItemValue.

Subject: RE: Two questions about a view.

Yep, you’re absolutely right. I have to think more before I type.

Amended in the reply