Example: Buttons
Using a button to add a database to a user¡¯s workspace

The Human Resources department sends new employees a mail message that welcomes them to the company and gives them orientation information. You decide to add a button to the Welcome form to make it easy for new users to find Benefits information. New employees see the button when they read their Welcome message. Double-clicking the button adds Server1¡¯s Benefits Information database to the user¡¯s workspace (if it isn¡¯t already there) and opens it to the View by Category view. The button uses this formula:

@Command([FileOpenDatabase];"Server1":"BENEFITS.NSF";"View by Category")

See Also