Open a form in another database

How do I open form from another database, I’ve tried using

Sub Click(Source As Button)

Dim ws As New NotesUIWorkSpace

Call ws.OpenDatabase( "", "names.nsf", "People")     

End Sub

but this opens a view, but I want to open a input form.

Many Thanks

Stefan

Subject: Open a form in another database

Use the ComposeDocument method.

Subject: RE: Open a form in another database

Thankyou seems to work ok…

Subject: Try:

Sub Click(Source As Button) Dim ws As New NotesUIWorkSpace

Call ws.ComposeDocument( "", "names.nsf", "Person")

End Sub