ComponentOne List 8.0 for ActiveX
RefetchCol Method

 

RefetchCol Method

The RefetchCol method repopulates the specified column from a data source control and/or unbound events.

Syntax

TDBList.RefetchCol [index]

Arguments

index is an optional variant that specifies the column to refetch. If not specified, the current column is assumed. If specified, it must be a valid column number or name.

Return Value

None

Remarks

Method applies to TDBList control.

It also repaints the column's visible cells, firing all events necessary for redisplay.

By default, the control retrieves data automatically as needed. It fetches rows in blocks of ten, and only gathers data for visible columns. However, in some cases, you can improve performance by fetching only the data for a single (changed) column. The RefetchCol method is provided for this purpose.

Note: The RefetchCol method does not force the data source control to refresh its own data from the underlying database. You must use data control methods or options to accomplish this.

See Also

TDBList and TDBCombo Controls

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback