A way to open a database from a view document rather than a document

In a view the normal hierarchy is that there can be twisties but the final level is the document level that when you double click on it, the appropriate document will open. What I want to do is that at the document level of view when it is double clicked, it opens up a certain Notes database rather than the document itself, is that possible?

Thanks in advance

Subject: Try QueryOpenDocument event in the view

source.Documents will be a collection with the one document that is trying to open. Just set continue to false and exit sub and that should prevent the doc from opening, while you will need to add code to open the database.

Hope I didn’t misunderstand your q.

J

Subject: A way to open a database from a view document rather than a document

One option would be to put code in the PostOpen event of the form.