Approach #1. Just make double click on triangle of Address bar, and you will get ReplicaID of database.
Approach #2. Open properties on document and look on "Meta" tab.
GTR search error for "D:\Domino\data\mydatabase.ft\ftgi": Work area overflown due to many hits. Error-Number = 299: Full text error; see log for more information
The error occurs when I did NotesDatabase.FTSearch(query, 0)
query = (([Form]="AgrAddon") & ( ([AgrDate]=08.07.2005 & [AgrAddonDate]=25.06.2008 & !([AgrAddonNum]=("-" | "/")) )))
I've found that this problem happens because of this part of query:
[AgrAddonNum]=("-" | "/")