AddDatabase @Command (Formula Language)

Adds the specified database icon to the user's workspace, without opening the database.

Syntax

@Command( [AddDatabase] ; server : database ; bookmark )

Parameters

server

Text. The name of the server where the database is.

database

Text. The path and file name of the database.

bookmark

Note: This parameter is new with Release 5.

Text ("0" or "1"). Optional. Specify "1" to bring up the Add Bookmark dialog box. Here, you can select or create a folder in which the bookmark should be placed. If you specify "0" or omit this parameter, it will bookmark the database in the Databases folder.

Usage

This command does not work on the Web.

Examples

This formula adds TRADEMRK.NSF to the user's workspace; this database is stored in the Document directory on the LEGAL server.
@Command([AddDatabase]; "LEGAL" : "Document\\TRADEMRK.NSF")