SBM ModScript Reference → Programming SBM ModScript → Extension Functions → Ext.CreateVarRecord()
Returns objects of the subtype VarRecord.
Parameter | Type | Description |
---|---|---|
tableId |
int |
A value from TS_TABLES. See Ext.TableId(). |
Type | Description |
---|---|
VarRecord |
The newly-created VarRecord object containing a field list with all variable fields defined for the given table. The fields are created empty and can be written to individually or populated for a specific item using the Read() method. |
SBM ModScript version: 11.3.
This function is similar to Ext.CreateAppRecord(). It may only be used on tables that hold variable field objects—a runtime error occurs if this function is called on a non-primary/auxiliary table.
Copyright © 2007–2018 Serena Software, Inc., a Micro Focus company. All rights reserved.