$CurrecId: Difference between revisions
(Created page with "<p> The <var>$CurrecId</var> function returns the <var class="product">Imagine Transparency</var> recordId for current (innermost) record <var>For</var> loop. If the current record is in a file that is not an <var class="product">Imagine Transparency</var> file, an empty string is returned. </p> <p> <var>$CurrecId</var> takes no arguments. </p> ==Usage notes== <p> The recordId for <var class="product">Imagine</var> associated records is an 8-byte binary string value. T...") |
|||
Line 8: | Line 8: | ||
==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 [[$CurImagineFile|CurImagineFile function]]. | ||
</p> | </p> | ||
<p> | <p> | ||
The [[CurrentRecordId (Record function)|CurrentRecordId]] method provides identical functionality using O-O syntax. | The [[CurrentRecordId (Record function)|CurrentRecordId]] method provides identical functionality using O-O syntax. | ||
</p> | </p> |
Latest revision as of 21:45, 28 March 2025
The $CurrecId function returns the Imagine Transparency recordId for current (innermost) record For loop. If the current record is in a file that is not an Imagine Transparency file, an empty string is returned.
$CurrecId takes no arguments.
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 CurImagineFile function.
The CurrentRecordId method provides identical functionality using O-O syntax.