DF_FILE_NUMBER
See Also: Get_Attribute, Set_Attribute
Description
The number that is used as a handle for an opened table.
Level
Table
Supported by
All Drivers
Type
Numeric, temporary
Access
Read / Write
Values
1 .. 4095
Remarks
The number that is used as a handle for an opened table. The table must be opened for this attribute to have a value. This attribute can be used to find the original table handle of a table that is being restructured.
Example
Procedure ShowOriginalHandle
Handle hTable
Handle hOriginal
Open Customer Mode DF_EXCLUSIVE
Move Customer.File_Number To hTable
Structure_Start hTable
Get_Attribute DF_FILE_NUMBER Of hTable To hOriginal
Showln "Handle, number: " hTable ", " hOriginal
Structure_Abort hTable
Close Customer.File_Number
End_Procedure // ShowOriginalHandle
The sample procedure above shows the handle to the customer table being restructured and its original handle.