Not all databases of a server are in the NotesDBDirectory

Hi

I have a lotusscript in which I search through a NotesDbDirectory to find a handle to a certain database. I have noticed that not all database of a server can be seen through the dbdirectory. How is that possible? I was under the assumption that all databases were in a dbdirectory. Is that caused by the database type setting on the basic tab of the database properties? Does the database has to be a certain type in order for it to be part of the dbdirectory?

Regards

Subject: Not all databases of a server are in the NotesDBDirectory

Make sure you are using the correct argument when you get the first database. i.e.

Set db = dbdirectory.GetFirstDatabase( TEMPLATE_CANDIDATE )

This should allow you to loop through all databases. If you are using something else instead of TEMPLATE_CANDIDATE, such as DATABASE, you will only loop through a subset of db’s.

Hope this helps,

Craig.