Hi tomsparrow,
this gets me 1 step closer, so thanks for that.
This script is now opening the database (e.g. HR Database) rather than the catalog document, but I'm after the related database (e.g. HR News) which I guess is a lot trickier!
There are 5 fields in our catlog document:
relateddatabase1
relateddatabase2
relateddatabase3
relateddatabase4
relateddatabase5
These fields display the name of the related database.
How can we establish which related database they are clicking on in the view?
Main Topics
Browse All Topics





by: tomsparrowPosted on 2009-06-18 at 05:16:38ID: 24656609
Your script is pretty close actually.
Since the ReplicaID field seems to store a date (at least in my catalog file), I've stuck with usign the filepath to open the DB.
It depends on the DB existing on the current server and having the same path as the server that updated the catalog file. You can swap CurretnServer to Doc.Server(0) if you want the original server.
Otherwisehis seems to do the trick:
Select allOpen in new window