Skip to content

The File_Field Keyword

Some Data Dictionary methods require that both a file number and a field number be passed. These messages are called File_Field messages and are always prefixed with the keyword File_Field_ (e.g., Get File_Field_Current_Value).

Move Customer.File_Number to iFile
Get_FieldNumber Customer.Name to iField
Set File_Field_Current_Value iFile iField to "John"

Note that the File_Field and Field commands can be used in front of any parameter, including parameters on the right side of the to token in Set statements. The Set Field_Auto_Increment property uses this format.

Set Field_Auto_Increment Field OrderHea.Order_Number to File_Field OrdSys.Order_Number

See Also