Lotus Notes FAQ Visit Our Sponsor!

How do you create a view action button that creates responses to only work on main documents?

You can check for the Form type of the document that the user is creating a response document for as follows:

@If(Form="Main";
  @Command([Compose];"Response");
  @Prompt([OK];"Select Main";
    "Select a Main document for which you wish to create a response.")
)

Applies to Notes Versions: 4 4.5 4.6 5
Last Modified: February 22, 1999