Tag Link | [Database_TableNameItem] | 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_LayoutNameItem] |
When used inside [Database_TableNames] ... [/Database_TableNames] container tags, [Database_TableNameItem] returns the name of the current table.
[Database_TableNames: 'Database Name']
[Database_TableNameItem]
[/Database_TableNames]
Optional Parameters | |
---|---|
Encoding Keyword | Specifies the encoding for the tag's return value. Tags are encoded using |
To return the names of all tables in a database:
Use the [Database_TableNames] ... [/Database_TableNames] tags with an enclosed [Database_TableNameItem] tag. The following example lists all the tables that are available in the Contacts database.
[Database_TableNames: 'Contacts']
<br>[Database_TableNameItem]
[/Database_TableNames]
<br>People
<br>Calls