Multi Database Search

Dear sir / madam,

Does anyone know how to loop and get all the databases that located on the server using Lotus Script?

Please help & thanks in advance

Subject: Multi Database Search

Here you are:

Dim targetdb As New NotesDatabase(“”, “”)

Dim dbDir As NotesDbDirectory

tserver = “your-server”

Set dbDir = New NotesDbDirectory(tserver)

Set targetdb = dbDir.GetFirstDatabase(TEMPLATE_CANDIDATE)

Do While Not(targetdb Is Nothing)

If targetdb.Title <> “Database Stub” Then

’ do your things

End If

Set targetdb = dbDir.GetNextDatabase

Loop

Subject: RE: Multi Database Search

Hi Rob

Can you tell me what is database stub here

Regards

Simran