Ext.TableDisplayName( tableDbNameOrId )

Description

Returns the display name of the specified table, such as "Incidents." Note that SQL statements must use the database name, not the display name.

Argument

tableDbNameOrId

Use this argument to specify a tables's database name or TS_ID. If the parameter tableDbNameOrId is a non-numeric string, it is taken as the table's database name, such as "TS_INCIDENTS." Otherwise, the parameter is converted to a number and taken as the table's ID.

Return Values

Returns the display name of the table if the database name exists. If not, an empty string is returned.

Related Topics