Moves this pointer to the record of the type and ID supplied. If a record with the selected ID is not found, this pointer will be set to Null pointer.
ptr:MoveToRecordById(sRecordTag, iRecordId)
This method is particularly useful, if importing from external files which have record IDs in them.
ptrIndi = fhNewItemPtr() ptrIndi:MoveToRecordById('INDI',12) if ptrIndi:IsNotNull() then fhMessageBox(fhGetDisplayText(ptrIndi)) else fhMessageBox('Record 12 not found') end