SBM ModScript Reference → Programming SBM ModScript → Object Types → AppRecord → AppRecord GetRecTableId() Method
Returns the calling AppRecord's table ID.
| Parameter | Type | Description |
|---|---|---|
|
None |
| Type | Description |
|---|---|
|
int |
The calling AppRecord's table ID. |
SBM ModScript version: 11.3.
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);
}
None.
Copyright © 2007–2020 Micro Focus or one of its affiliates. All rights reserved.