DataAwareRow

[method icon] DataAwareRow()

Used to fill the current row from the assigned database table

Applies to: Grid


[method icon] DataAwareRow(iRow, BYREF sBuf$)

Used to fill the current row from the assigned database table

iRow Integer Row number to be updated
BYREF sBuf$ String Row buffer to be bound

Applies to: Grid

Introduced in KCML version 6.20


>DataAwareRow

DataAwareRow

The method with no arguments is used to fill the current grid row from the relevant fields in the associated data base table. This method would normally be called once a new row has been added to the grid and before the record object variable is filled.

The method with the row number and string arguments is used to fill the specified grid row from the data contained in the buffer string. The grid must have been previously set up with a DataBind and the columns of the grid set with the DataField$ property.

See also

Grid methods, properties and events.