FORMULA LANGUAGE


Examples: @DbName
These examples assume the semicolon is the selected separator.

1. This example returns ";PERSONAL.NSF" if the current document is in the PERSONAL database stored in the data directory of the user's own computer.


2. This example returns "SALES1;ADMIN\STATUS.NSF" if the current document is stored in a Domino database named STATUS.NSF in the ADMIN directory on the SALES1 server. If the database is stored at the server's root directory (that is, it is not stored in a subdirectory), the result would be "SALES1;STATUS.NSF." You can extract just the file name of the list by combining @DbName with @Subset, as shown in the example below.
3. This example returns "STATUS.NSF", the file name, since this is the last element in the returned list.
4. This example returns the path of the current database, without the file name. For example, if the current database is SENSES\SOUNDS\SIGH.NSF, this formula returns "SENSES\SOUNDS."
5. This example displays the server, path, and file name of the current database, substituting the common name for the hierarchical name of the server.
See Also