Partially fill a ProDataSet
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
You can also fill starting at the level of
an individual ProDataSet member table by applying the FILL method
to that table's buffer, as in this example:
|
Or, without using a buffer handle:
|
This fills the ProDataSet starting with the
buffer's temp-table. If the temp-table is the child of a Data-Relation,
then only rows matching the rows already in the parent will be filled.
This means that there must be at least one parent row if the FILL is
to add any rows to the ProDataSet. If there are active relations
to the buffer's child tables, they are filled as well. When you
execute the FILL method on a buffer handle rather
than on the ProDataSet handle itself, you can deactivate Data-Relations
to limit the depth to which the ProDataSet is initially filled.
Note
that a FILL on a buffer traverses each branch of the
hierarchy below that buffer until it encounters an inactive relation
or a buffer marked as NO-FILL, which you will learn
about shortly. In either of these cases, the FILL stops
on that branch of the hierarchy.