Help Center

CollectBandFieldNameInfofunction

Manages column bands.

Windowsfunctiondoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Syntax

FUNCTION CollectBandFieldNameInfo (BYVAL force_collection AS LONG) AS HRESULT

Parameters

NameDescription
force_collectionNon‑zero forces a full rebuild of band/field metadata; zero collects only if not already initialized.

Description

Forces the grid to collect or refresh internal band and field name information from the bound hierarchical Recordset.

Remarks

This method is undocumented in the official MSHFlexGrid reference. It is used internally by the control to populate band names, field names, and column mappings when working with hierarchical (shaped) Recordsets. Application code typically does not need to call this method directly.

Reference