Tag Link | [Database_Name] | Category | Database |
---|---|---|---|
Type | Substitution | Source Available | No |
Support | Preferred | Version | 2.0 |
Change | Unchanged | Data Source | Any |
Output Type | String | Security | None |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0, Lasso 3.x, Lasso 2.5, Lasso 2.0 |
[Database_Name] returns the name of the current database.
If this tag is called within [Inline] ... [/Inline] tags, it returns the name of the database which is specified in the parameters of the opening [Inline] tag. If this tag is used in the response page to a URL or HTML form based Lasso action then this tag returns the database named in the parameters of the action.
[Database_Name]
Optional Parameters | |
---|---|
Encoding Keyword | Specifies the encoding for the tag's return value. Tags are encoded using |
To return the name of the database being used for the current action:
Use the [Database_Name] tag. The following example simply displays the name of the database being searched in [Inline] ... [/Inline] tags to the visitor.
[Inline:
<br>The database [Database_Name] is being searched.
[/Inline]
The database Contacts is being searched.