Consultor Eletrônico



Kbase 16782: "Data-Aware/Data-Bound" Controls vs "Automatic Data-Binding"
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/10/1998
"Data-Aware/Data-Bound" Controls vs "Automatic Data-Binding"

When one says "data-aware", it means an ActiveX control can be
connected (or bound) to a Data Control. A Data Control is an ActiveX
query object that controls the interaction between the data-aware
control and the database. When the data control fetches a record
from a database, it automatically places the field values into the
data-aware control, the Data Control senses the change and writes the
changes back to the database automatically. Therefore, if a control
is data-aware, it can, without code, be linked to a database query.

Data-Bound is another term for Data-Aware.

If someone says "Videosoft's VSFlex is a data-bound control", they
are saying it supports "binding" to a Data Control.

Automatic data-binding is a term that describes the process of
linking the database query to the edit controls.

It is the responsibility of the container that holds the ActiveX
data-aware control to bind the field values from the Data Control to
the control it hosts. In 8.2A, we do not have an operational Binding
Manager in our CONTROL-FRAME. When we do, we should be able to
support data-binding and data-bound controls. We also must have a
Data Control that knows how to connect to the Binding Manager of the
CONTROL-FRAME.

Without data-binding, data-aware controls must have their text
properties set through code. We do support data-aware controls but,
the data-binding will not work. So, if someone wants to put records
in a VSFlex ActiveX grid, they must add the rows to the grid within
a FOR EACH loop.

Progress Software Technical Support Note # 16782