NewFromRecordId (Record function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
Line 7: Line 7:
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%outRecord</th><td><var>Record</var> object</td></tr>
<tr><th>%record</th><td>A <var>Record</var> object</td></tr>
<tr><th nowrap="true"><var>[%(Record In </var>filOrGrp name<var>):]</var></th>
<tr><th nowrap="true"><var>[%(Record In </var>filOrGrp name<var>):]</var></th>
<td>The optional class name in parentheses denotes a [[Notation conventions for methods#Constructors|virtual constructor]]. See [[#Usage notes|"Usage notes"]], below, for more information about invoking a virtual constructor.</td></tr>
<td>The optional class name in parentheses denotes a [[Notation conventions for methods#Constructors|virtual constructor]]. See [[#Usage notes|"Usage notes"]], below, for more information about invoking a virtual constructor.</td></tr>
<tr><th>string</th>
<tr><th>recordId</th>
<td>string</td></tr>
<td>The recordId to be used to locate the record. This must be an 8-byte binary value.</td></tr>
</table>
</table>



Revision as of 21:46, 24 March 2025

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

%recordA 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 binary value.

Usage notes

Examples

See also