@SetDBTitle
Syntax
@SetDBTitle(DBHANDLE1;TEXT2);
@SetDBTitle(DBHANDLE1;TEXTLIST2);
Description
Sets the title and categories of the database identified by DBHANDLE DBHANDLE1. With TEXT TEXT2 it is interpreted as the title and the categories are deleted; with TEXTLIST TEXTLIST2 the first element of the list is interpreted as the title, and each additional element as a category. In both cases, a @GetDBTitle-compatible TEXTLIST is returned.
If a category starts with #1, it is not a real category but a flag indicating that this database is a design template with the following name.
(Example: "#1DesignTemplateName").
If a category starts with #2, it is not a real category but a flag indicating that this database uses the design template with the following name.
(Example: "#2UseDesignTemplateWithName").
Example: @SetDBTitle(DBHANDLE1;TEXT2)
@SetDBTitle(DBHANDLE1;"Title")
outputs "Title" after the database has been modified
Example: @SetDBTitle(DBHANDLE1;TEXTLIST2)
@SetDBTitle(DBHANDLE1;"Title":"Cat 1":"Cat 2")
outputs "Title":"Cat 1":"Cat 2" after the database has been modified
Note : This text was machine-translated and may contain inaccuracies.
