[ListDatabases]Database Tags[/ListDatabases]
To display a list of all the databases that WebCatalog currently has open, put a [ListDatabases] context into a template. You may put a [ListFields] context inside the [ListDatabases] context to display the names of all the fields in the database.
Example (normally you would put the following text into a .tpl file on your server and use a web browser to link to it):
Try It!
The following tags are available inside a [ListDatabases] context:
| Tag | Description |
|---|---|
|
[Name] |
the name of the database (can be a partial or full path) |
|
[Index] |
A number from 1 to the number of databases, indicating this database's index in the list |
|
[NumRecords] |
The number of records (rows) in this database |
|
[NumFields] |
The number of fields (columns) in this database |
|
[xxx] |
Any other WebCatalog tag or context, including [ListFields] |