Error getting tags :
error 404Error getting tags :
error 404 revDatabaseTableNames | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
revDatabaseTableNames
Basics
Expander triangle
Type
Function
Syntax

revDatabaseTableNames(databaseID)

Introduced
1.1.1
Changed
2.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
Disk,Network
Summary
Returns a list of the table names in the current database.
Examples

if tTableName is among the lines of revDatabaseTableNames(sgDatabaseId) then
insertData tTableName, tData
end if

Additional Comments
Expander triangle

Parameters

The databaseID is the number returned by the revOpenDatabase function when the database was opened.

Value

The revDatabaseTableNames function returns a list (one per line) of table names. If an error was encountered, the result will be set to a string beginning with revdberr.

Comments

You can use the revDatabaseTableNames function to verify that a user-specified table name is correct or to display a list of tables for the user to choose between.

Important! The revDatabaseTableNames function is part of the Database library. To ensure that the function works in a standalone application, you must include this custom library when you create your standalone. In the Inclusions section of the General screen of the Standalone Application Settings window, make sure the "Database Support" checkbox is checked and the database drivers you are using are selected in the list of database drivers.

Changes to Revolution:

The revDatabaseTableNames synonym was added in version 2.0.

User Comments
Expander triangle