Release 10.1A: OpenEdge Development:
Progress 4GL Reference

> ## BUFFER-VALUE attribute

> The current value of a buffer-field object. If you modify the BUFFER-VALUE attribute, Progress sets the buffer-field object to the new value.

> Data type: The data type of the corresponding buffer-field

> Access: Readable/Writeable

> Applies to: Buffer-field object handle

> 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. Progress 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 `Cust-num``` buffer field in the `Customer` table through a ProDataSet handle:

>     hDSet:GET-BUFFER-HANDLE(“ttcust”):BUFFER-FIELD(“Cust-num”):BUFFER-VALUE

> Following is the short-hand form of the same syntax:

>     hDSet::ttcust::Cust-num

> #### See also

> LITERAL-QUESTION attribute

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095