Data Access Modes > User Events Mode > The RowBuffer Object > ColumnIndex Property |
ColumnIndex is a variant array used to specify a True DataControl field index (ordinal position in the collection returned by the Fields property) associated with a RowBuffer column. This property is read-only. You can use it in the UserReadData event to identify which data fields are being requested.
Example Title |
Copy Code
|
---|---|
FieldNo = RowBuffer.ColumnIndex(RowIndex, ColIndex) ' where RowIndex = 0 to RowCount – 1 ' and ColIndex = 0 to ColumnCount - 1 |