Specifying field lists in ABL
- Last Updated: January 17, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Specifying field lists in ABL
In ABL, you can specify a field list in two contexts:
- Following each buffer name specified in a
DEFINE QUERYstatement - Following the buffer name specified for fetching in each Record phrase
of a
FOR,DO PRESELECT, orREPEAT PRESELECTstatement
This is the syntax for specifying a field list in all cases:
Syntax
|
The record–bufname reference
specifies the table buffer you are using for the fetch, and a field reference
specifies a field in the table. If field is an
array reference, the whole array is fetched. The FIELDS form
lists the fields included in the fetch, and the EXCEPT form
lists the fields excluded from the fetch. FIELDS without field references fetches
enough information to return the ROWID of a record,
and EXCEPT without field references
or record–bufname alone fetches
a complete record.