AppRecord GetRecTableId() Method

Returns the calling AppRecord's table ID.

Function Signature

 int GetRecTableId()

Parameters

Parameter Type Description

None

Return

Type Description

int

The calling AppRecord's table ID.

Technical Details

SBM ModScript version: 11.3.

Example

var tableId = Ext.TableId ("TS_CONTACTS");
var myRecord = Ext.CreateAppRecord(tableId);
var result = myRecord.GetRecTableId();
if(result != tableId) { 
	Ext.LogInfoMsg("Error was expecting 'Contacts' to be table " +
    tableId);
}

Notes

None.

Related Topics

AppRecord