Tag Link | [Database_NameItem] | Category | Database |
---|---|---|---|
Type | Substitution | Source Available | No |
Support | Preferred | Version | 5.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 Equivalent | [DB_NameItem] |
When used inside [Database_Names] ... [/Database_Names] container tags, [Database_NameItem] returns the name of the current database.
[Database_Names]
[Database_NameItem]
[/Database_Names]
Optional Parameters | |
---|---|
Encoding Keyword | Specifies the encoding for the tag's return value. Tags are encoded using |
To return the names of all available databases:
Use the [Database_Names] ... [/Database_Names] tags with an enclosed [Database_NameItem] tag. The following example lists all the databases that are available to the current user.
[Database_Names]
<br>[Database_NameItem]
[/Database_Names]
<br>Contacts
<br>Site