Manage Learn to apply best practices and optimize your operations.

Users Opening The Wrong Replica

Despite efforts by Lotus to make it easier for users to understand which
replica they are opening, it seems many are still confused by the bookmarks in
R5. Many users click blindly on their bookmarks without noticing that they are
accidentally using the Local rather than the server copy of a database, which
leads to all sorts of support problems and questions.

As a helpful reminder to the end-user I have written the following script which
does its best to ensure that the user is not opening a local copy of the
database while they are connected to a server.

As I haven't found a way to actually discern which location document is
currently in use, the script instead checks to see which replica of the users
mail database is currently active - the local or server copy.

Place the following in the Database Script PostOpen event.
Sub Postopen(Source As Notesuidatabase)
Dim db As NotesDatabase
Dim vMail As Variant
Dim sMsg As String

vMail=Evaluate({@MailDbName})
Set db=Source.Database

'Course DB is local and Location is not local
If db.Server="" And vMail(0)<>"" Then
sMsg="WARNING: You are using a local copy of this database! "
sMsg=sMsg & "You may not see the most recent data. " & Chr$(13) & Chr$(13)
sMsg=sMsg & "To prevent this problem in the future, you must modify your
bookmark to open the correct replica."
Messagebox sMsg,64,"Notes Database"
End If

End Sub

Dig Deeper on Lotus Notes Domino Administration Tools

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchDataCenter

SearchContentManagement

Close