Appendix A. CRBasic Programming Instructions
A.16 Data-Table Access and Management
Commands to access and manage data stored in data tables, including Public and
Status tables.
FileMark
Inserts a filemark into a data table.
Syntax
FileMark(TableName)
GetRecord
Retrieves one record from a data table and stores the results in an array. May be
used with SecsSince1990().
Syntax
GetRecord(Dest, TableName, RecsBack)
ResetTable
Used to reset a data table under program control.
Syntax
ResetTable(TableName)
SetSetting
Changes the value for a setting or a Status table field.
Syntax
SetSetting("FieldName", Value)
SetStatus
Changes the value for a setting or a Status table field.
Syntax
SetStatus("FieldName", Value)
TableName.EventCount
Returns the number of data storage events that have occurred for an event-driven
data table.
Syntax
TableName.EventCount(1,1)
TableName.FieldName
Accesses a specific field from a record in a table
Syntax
TableName.FieldName(FieldNameIndex, RecordsBack)
592