Progress
Language Reference


AVAILABLE Attribute

Indicates whether a buffer contains a record.

Data Type: LOGICAL

Access: Readable

Applies To: Buffer Object Handle, Buffer-field Object Handle

For the buffer object handle, the AVAILABLE attribute corresponds to the AVAILABLE function. If the buffer contains a record, AVAILABLE is TRUE. Otherwise, AVAILABLE is FALSE.

Generally, a buffer-field object handle corresponds to a field returned in a query buffer. However, this field can be excluded from the query using a field list. In this case, if you try to read the BUFFER-VALUE attribute on the associated buffer-field object handle, Progress returns an error indicating that the corresponding field is missing from the query buffer. You can use the AVAILABLE attribute to test whether the corresponding field was included or excluded from the query.

Depending on its return value, the AVAILABLE attribute indicates one of the following conditions when applied to the buffer-field object:


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