RecordId (Record function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
 
Line 13: Line 13:
==Usage notes==
==Usage notes==
<p>
<p>
The recordId for <var class="product">Imagine</var> associated records is an 8-byte binary string value. This can be used to create another <var>Record</var> object with the [[NewFromRecordId (Record function)|NewFromRecordId]] function though there is really no good reason to create another <var>Record</var> object this way, or it could be passed to the <var class="product">Imagine</var> broker, probably after converting it to hex. Note, however, that while recordIds uniquely identify any record in <var class="product">Imagine</var>, <var class="product">Imagine</var> still needs to know the <var class="product">Imagine</var> file that holds the record to locate it.
The recordId for <var class="product">Imagine</var> associated records is an 8-byte binary string value. This can be used to create another <var>Record</var> object with the [[NewFromRecordId (Record function)|NewFromRecordId]] function though there is really no good reason to create another <var>Record</var> object this way, or it could be passed to the <var class="product">Imagine</var> broker, probably after converting it to hex. Note, however, that while recordIds uniquely identify any record in <var class="product">Imagine</var>, <var class="product">Imagine</var> still needs to know the <var class="product">Imagine</var> file that holds the record to locate it. This can be obtained using the [[ImagineFile (Record function)|ImagineFile]] method.
</p>
</p>



Latest revision as of 21:28, 28 March 2025

Return the recordId of the Imagine Transparency record (Record class)


Get the Imagine Transparency recordId for the Record object.

Syntax

%string = record:RecordId

Syntax terms

%stringThe recordId of the record on Imagine if the record is in a file that is an Imagine Transparency file, or an empty string, otherwise.
record Record object

Usage notes

The recordId for Imagine associated records is an 8-byte binary string value. This can be used to create another Record object with the NewFromRecordId function though there is really no good reason to create another Record object this way, or it could be passed to the Imagine broker, probably after converting it to hex. Note, however, that while recordIds uniquely identify any record in Imagine, Imagine still needs to know the Imagine file that holds the record to locate it. This can be obtained using the ImagineFile method.

Examples

See also