Get_Field_Value command¶
Include: Use Db\DBCommands.pkg
Purpose¶
Reads a field value from a DD local buffer into a variable.
Syntax¶
Get_Field_Value oDataDictionary field to variable
Get_Field_Value oDataDictionary field to variable Length iLength
Get_Field_Value oDataDictionary field to variable Length iLength Offset iOffset
How it works¶
- Four-argument form gets
Field_Current_Value. Lengthforms getField_Current_Value_Mid; when no offset is supplied, offset0is used.- The field argument is a DD field reference such as
(RefTable(oCustomerDD.Name)).
Example¶
String sName
Get_Field_Value oCustomerDD (RefTable(oCustomerDD.Name)) to sName