Previous Next

BUFFER-VALUE( ) method
The current value of a buffer-field object. If you modify the BUFFER-VALUE( ) method, the AVM sets the buffer-field object to the new value.
Data type:
Access:
Applies to:
 
Syntax 
BUFFER-VALUE ( [ i ] ) 
i
An integer expression representing a subscript, for fields that have extents.
The syntax for retrieving the value of a buffer-field object using a dynamic reference to a table field in a dynamic ProDataSet, temp-table, query, or buffer object can be awkward, especially when you know the table and field names at compile time. ABL provides a simpler way to express the same syntax, only in a short-hand form. For example, following is the typical syntax for referring to the CustNum buffer field in the Customer table through a ProDataSet handle:
 
hDSet:GET-BUFFER-HANDLE("ttcust"):BUFFER-FIELD("CustNum"):BUFFER-VALUE( )
Following is the short-hand form of the same syntax:
 
hDSet::ttcust::CustNum
Note:
See also:

Previous Next
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.