The Compose command is one of the most frequently used functions in a Lotus Notes database. This command is used to create a new document in a database. When added to a button, it provides a user-friendly method to generate a new document. A button offers an alternative to creating a new document via the Lotus Notes menu bar.
How It Works
A new document is created when the button is clicked. The button calls the Compose command, which is equivalent to selecting the form from the Lotus Notes menu.
To implement this solution, create an action button on a view, page, or form and insert the following formula in the Programmer's pane. Be sure to replace FORM with a valid form name or form alias name.
An Introduction to the Lotus Domino Tool Suite
Getting Started with Designer
Navigating the Domino Designer Workspace
Domino Design Elements
An Introduction to Formula Language
An Introduction to LotusScript
Fundamentals of a Notes Application
Reference Library Applications
Design Enhancements Using LotusScript
Design Enhancements Using Formula Language
Miscellaneous Enhancements and Tips for Domino Databases
Application Deployment and Maintenance
Appendix A. Online Project Files and Sample Applications
Appendix B. IBM® Lotus® Notes® and Domino®Whats Next?