Embedded Views

I have a document that has an Embedded View in it. I would like to be able to use this Embedded View to tell me weather or not there are child documents for the parent document. Then if there are child documents to tell weather or not they are opened or closed by a field on that child document. Is there any way that this can be done by using the Embedded View that is on the parent document?

Thanks for the help

Christy Deking

Subject: Embedded Views - Checking document open lock.

There is a good example of checking the lock property of a document in Designer . See NotesDocument Class - LockHolders property. May help with your other question re: if a document is opened or not. This property requires you to perfom an action on a selected doc in the view.

Subject: Embedded Views

What you want to do is to show all the response documents for document in an embedded view on the parent document. In this view you want to display a field that displays some value. Correct?

Create a view of the child documents that is catorigized by a unique value that only the child and parent documents contain. Could be $ref if they are response documents. Add the columns you want to display into the view.

Add the embedded view to the parent form and use the Show single category option. The single category value is the same field/value that is used to catorigize the child view.