ReplID in formula vrs. LotusScript

Hi

I would like to use the ReplID of a database to open it. When doing lookups in the formula language I can either enter the database as “Server:Database” or simply using the ReplID. This is super as when I use the ReplID the local machine is seached first, then the servers etc. etc. In LotusScript the .OpenByReplicaID needs the server as the first parameter - is there any why (except doing it manually as I am currently doing it) to mimic the formula method?

Thanking you in advance

Ursus