[ListDatabases]Database Tags[/ListDatabases]

Lists all the currently-open databases.

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):

Name: [name]<br>
# Records: [numRecords]<br><hr>

Try It!

The following tags are available inside a [ListDatabases] context:
Tag Description


 the name of the database (can be a partial or full path)


A number from 1 to the number of databases, indicating this database's index in the list


The number of records (rows) in this database


The number of fields (columns) in this database


Any other WebCatalog tag or context, including [ListFields]