How do you get the directory the current database is in?
Public Function GetDatabasePath( db As Notesdatabase ) As String
Dim position As Integer
position = Instr( db.FilePath, db.FileName )
GetDatabasePath = Left( db.FilePath , position - 1 )
End Function