FORMULA LANGUAGE
Examples: FileOpenDatabase
1. Notes/Domino opens the PROBLEMS.NSF database, which is stored on the Development server. If the database is already open, Notes/Domino brings that window to the foreground. If the database is not open, Notes/Domino opens it in a new window. Since no view was specified, the database opens either to the default view, or if the user has opened the database before, to the view last used by the user. If the database is not on the user's workspace, it will be added automatically.
@Command([FileOpenDatabase];"Development":"PROBLEMS.NSF")
2. Notes/Domino opens the PROBLEMS.NSF database on the Development server. Additionally, Notes/Domino opens a new window, displays the Open Problem Reports view, and highlights the first document containing "Printer problems" in the key field. Since the temporary parameter is used, the database icon is not added to the user's workspace.
@Command([FileOpenDatabase]; "Development":"PROBLEMS.NSF"; "Open Problem Reports"; "Printer problems"; "1"; "1" )
3. This code, when added to the Open My Feedback hotspot button returns the All\By Employee view of the UserNotes.nsf database located in the feedback subdirectory of the Customers/ME/ACME server. The view, which contains documents grouped by category, where the categories are employee names appears with the category named after the current user highlighted and displayed in the first row of the view.
@Command([FileOpenDatabase]; "Customer/ME/ACME" : "feedback\\UserNotes.nsf" ; "All\\By Employee" ; @Name([CN];@UserName(0)) ; "1" ; "1")
4. This formula, when added to the "Int'l" hotspot button on a document whose design is based on the USUser form, opens the Int'l view. If the Int'l view's form formula is "IntlUser," the user can select the same document from this view and it will display using the IntlUser form. If you do not close the current USUser-based document first, it will redisplay based on the USUser form when selected from the Int'l view.
@Command([CloseWindow]);
@Command([FileOpenDatabase];"AcmeServer/Central";"Users.nsf";"Int'l")
See Also
FileOpenDatabase @Command
Glossary
Feedback on
Help
or
Product Usability
?
Help on Help
All Help Contents
Glossary