Bind

[property icon] Bind

Specifies the row variable name that is bound to a record or database table

Read-only Sym property

Applies to: Data Bind Object

Introduced in KCML version 6.10


>Bind

Bind

This DataBind control property contains the name of the KCML variable that has been data bound to a DEFRECORD. Changes made on the form will be propagated automatically to this variable and vice versa. The variable can be either a row buffer for a database table on an instance of a structure described by that record.

A DataBind control is created in the KCML Workbench by dragging the bound record from the record browser and dropping it onto the form's DEFFORM definition in the editor window. This creates a DataBind object with a name of the record name prefixed by 'data_'. The Record property will be set to the name of the record and the .Bind property will be defaulted to the record name with a $ sign appended.

The property can be set either with the forms designer or programmatically. In the forms designer click on the ellipsis associated with the DataBind property on a form control. In a program this property can be set at .Create() event time.

See here for more on data binding.

See also

Data Bind Object methods, properties and events.