ENABLE Reference Manual

ENABLE ATTRIBUTES
FILL Attribute
FILL Attribute
The FILL attribute indicates whether the application does, or
does not, automatically read a record (or records) for a box
under the conditions described below. The syntax of the FILL
attribute is:
-----------------------------------------------------------------
| |
| |
| FILL { ON } |
| { OFF } |
| |
| ON |
| |
| indicates that, under certain circumstances, the |
| application is to perform an automatic read operation |
| on the file that the box represents. |
| |
| OFF |
| |
| indicates that the application is not to perform an |
| automatic read operation under any circumstances. |
| |
| The starting value of the FILL attribute is OFF. |
| |
-----------------------------------------------------------------
Considerations
When you supply ON as a value for the FILL attribute, a generated
application can perform an automatic read operation on a data
base file. The conditions under which the application performs
the read operation depends upon the level at which the box
resides in the tree structure of the application.
For a box at the highest level of the tree structure (the
outermost box), two cases are possible:
• If the box has OFF as the value of the VALUES attribute, the
application, upon execution, automatically reads the first
record or records (if any) from the data base file.
4-24