Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
NUMBER

NUMBER Function (RecordRef)

Returns the table ID (number) of the table that contains the record that was referred to by the RecordRef.


No := RecordRef.NUMBER

Parameters

RecordRef

Type: RecordRef

The RecordRef that refers to the table in which you are interested.

Type: Integer

The number of the table or the number of the field.

In previous versions of Microsoft Dynamics NAV, if a RecordRef referred to a temporary table, then the table number value of the RecordRef was the run-time generated sequence ID, which is from the base value of 2000100000. You could use the table number to determine if a RecordRef referred to a temporary table. In Microsoft Dynamics NAV 2009, the table number value of a RecordRef always contains the ID of the originating physical table and not the run-time generated sequence ID. If you previously used the NUMBER Function (RECORDREF) to test for the sequence number and determine if the RecordRef was temporary, then you must use the ISTEMPORARY Function (RecordRef) in Microsoft Dynamics NAV 2009 instead.

Community Additions

ADD
Show:
© 2015 Microsoft