To display a list of all the databases that WebDNA 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):
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 total number of databases, indicating this database's index placement in the list. |
[NumRecords]
|
The number of records (rows) in this database. |
[NumFields]
|
The number of fields (columns) in this database. |
[xxx]
|
Any other WebDNA tag or context, including [ListFields] | .