Open URL in web on other server in LotusScript

Hi, All,
I have a lotuscript agent that must open a database in a web page (no matter if
same or new web page, but preferably the same).
I had already used the method of “Print {]” at the end of agent, and
it’s work fine for database that resides on the same server domino of database
where agent run, but if I need to open database that resides on another server
domino, it’s not work, even if prefix dbname with the correct server name on
print statement (“Print {<server/dbname>]”).

Has anyone an idea that can help me in that problem.
Thanks in advance for your any help.

/Sauro

Subject: Open URL in web on other server in LotusScript

try this:

Sub PrintThankYou (serverName As String, databaseName As String)

Dim message As String

Dim url As String



message = "Thank you, the status of this form has been changed to complete."

url = "http://" + serverName + "/" + databaseName



Print "<SCRIPT LANGUAGE=""JavaScript"">alert('" & message & "');top.location='" & url & "';</SCRIPT>"

End Sub