Item Pointer

MoveToRecordItem

Description

Moves this pointer to point to the record item, to which a given item belongs. See also ptr:MoveToParentItem and ptr:MoveToFirstChildItem.

Syntax

ptr:MoveToRecordItem(ptrRef)

Parameters

ptrRef
item pointer: Points to the item whose record you wish to move this pointer to.

Return Value

None

Remarks

The pointer can be used as it's own reference pointer.

Example
pi:MoveToRecordItem(pi) -- moves pi to point to its own record
pi:MoveToRecordItem(pi2) -- moves pi to point to pi2's record