RecordRef Data Type in Dynamics NAV

A RecordRef object references a record in a table. Typically, you use a RecordRef object in functions that must apply to more than one table, not to a specific table. For example, you could use a RecordRef object in a function that loops through several tables or as a parameter of a function that is called for records of different tables.

The RecordRef object can refer to any table in the database. Use the OPEN Function (RecordRef) to use the table number to select the table that you want to access, or use the GETTABLE Function (RecordRef) to use another record variable to select the table that you want to access.

If one RecordRef variable is assigned to another RecordRef variable, then they both refer to the same table instance.

See Also

ADDLINK Function (RecordRef)
ASCENDING Function (RecordRef)
CAPTION Function (RecordRef)
CHANGECOMPANY Function (RecordRef)
CLOSE Function (RecordRef)
COPYLINKS Function (RecordRef)
COUNT Function (RecordRef)
CURRENTCOMPANY Function (RecordRef)
CURRENTKEY Function (RecordRef)
CURRENTKEYINDEX Function (RecordRef)
DELETE Function (RecordRef)
DELETEALL Function (RecordRef)
DELETELINK Function (RecordRef)
DELETELINKS Function (RecordRef)
DUPLICATE Function (RecordRef)
FIELD Function (RecordRef)
FIELDCOUNT Function (RecordRef)
FIELDEXIST Function (RecordRef)
FIELDINDEX Function (RecordRef)
FILTERGROUP Function (RecordRef)
FIND Function (RecordRef)
FINDFIRST Function (RecordRef)
FINDLAST Function (RecordRef)
FINDSET Function (RecordRef)
GET Function (RecordRef)
GETFILTERS Function (RecordRef)
GETPOSITION Function (RecordRef)
GETTABLE Function (RecordRef)
GETVIEW Function (RecordRef)
HASFILTER Function (RecordRef)
HASLINKS Function (RecordRef)
INIT Function (RecordRef)
INSERT Function (RecordRef)
ISEMPTY Function (RecordRef)
ISTEMPORARY Function (RecordRef)
KEYCOUNT Function (RecordRef)
KEYINDEX Function (RecordRef)
LOCKTABLE Function (RecordRef)
MODIFY Function (RecordRef)
NAME Function (RecordRef)
NEXT Function (RecordRef)
NUMBER Function (RecordRef)
OPEN Function (RecordRef)
RENAME Function (RecordRef)
RECORDID Function (RecordRef)
READPERMISSION Function (RecordRef)
RESET Function (RecordRef)
SETPOSITION Function (RecordRef)
SETVIEW Function (RecordRef)
SETTABLE Function (RecordRef)
SETRECFILTER Function (RecordRef)
WRITEPERMISSION Function (RecordRef)