NewFromRecordId (Record function)
Jump to navigation
Jump to search
Create new group-context Record object from recordId (Record class)
This constructor method creates a Record object from a recordId. This is only valid if the record is an Imagine Transparency record.
Syntax
%fileRecord = [%(Record In filOrGrp name):]NewFromRecordId( recordId)
%groupRecord = [%(Record In filOrGrp name):]NewFromRecordId( recordId, filename)
Syntax terms
%fileRecord | A file context Record object |
---|---|
%groupRecord | A group context Record object |
[%(Record In filOrGrp name):] | The optional class name in parentheses denotes a virtual constructor. See "Usage notes", below, for more information about invoking a virtual constructor. |
recordId | The recordId to be used to locate the record. This must be an 8-byte (string) binary value. |
filename | The name of the file in the group (for a group context call) used to locate the record. This must be a string value. |