SBM ModScript Reference → Programming SBM ModScript → Extension Functions → Ext.TableDisplayName( tableDbNameOrId )
Returns the display name of the specified table, such as "Incidents." Note that SQL statements must use the database name, not the display name.
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.
Returns the display name of the table if the database name exists. If not, an empty string is returned.
Copyright © 2007–2017 Serena Software, Inc. All rights reserved.