How can I trap the event of a user selecting a document?

I’ve got a view that is categorized. The problem I’m having is when a user selects the row in the view that is just the category. If I could trap the event, I could automatically select the documents in that category. Unfortunately, the nuiview.documents property does not include category rows and the caretcategory property isn’t necessarily the row selected.

Any ideas? TIA.

Subject: How can I trap the event of a user selecting a document?

Usually you trap to make sure a document is selected…perhaps you can do this, force them to select the first document and then build a collection based on this document selection?

Subject: How can I trap the event of a user selecting a document?

I don’t think there’s a way to do that, but I might be wrong.

Another approach might be to offer the user a dialog box of choices, where the choices were the categories in this view.

Once the user picked the category you could have code that would get a handle on any docs with that category.

Luke

Subject: RE: How can I trap the event of a user selecting a document?

hi luke

have you implemented this in lotusscript?

i’d be very much interested in seeing your solution.

thanks