Parameter Type Description
inObject Longint A handle to an object
inTag String → Tag of the item to retrieve →
Discussion
OT GetRecord sets the current record of a table from the packed record data in the item referenced by inTag. The contents of the item must have been set with OT PutRecord. The table used to store the packed record is the table which will have its current record set.
If object is not a valid object handle, an error is generated and OK is set to zero.
If no item in object has the given tag, nothing happens.
If an item with the given tag exists and has the type OT Is Record, the current record of the item’s original table is set.
If there is no current record for the item’s table or the current record is locked, an error is generated and OK is set to zero.
Warning Once a record is stored with OT PutRecord, it must be retrieved into the same table. Otherwise the results are undefined (and potentially disastrous). You can use the OT GetRecordTable command to find the source table for a stored record.
See Also

