Open a form with a button

When I click on a button, I want a form open it.I know formulate in formula language:

@Command([Compose];“”;“formulaire accident”)

But not in LotusScript, can you help me?

Subject: open a form with a button

Sylvain,

You need to use the ComposeDocument method of the NotesUIWorkspace class

eg:

Sub Click(Source As Button)

Dim workspace As New NotesUIWorkspace

Call workspace.ComposeDocument( “”, “”, “formulaire accident” )

End Sub

HTH

Mike

Subject: RE: open a form with a button

thanks