ClearStructure Method (ModHFGrid)

Applies To

Clears any mapping information from the ModHFGrid that regards the order and name of the displayed columns. This information may have been set at design time using the Band tab of the Property Pages dialog box or the Retrieve Structure command on the shortcut menu.

This method makes it possible for you to reset the ModHFGrid to a known state. If the user programmatically changes the underlying source of the ModHFGrid (and that source has a different structure), execute this method to properly display the data.

Syntax

object.ClearStructure

The ClearStructure method syntax has one part:

Part Description
object An object expression that evaluates to an object in the Applies To list.

Remarks

If the structure is changed without clearing the mapping information, the ModHFGrid attempts to display the new source with the existing mapping information. Only columns specified in the mapping information display data in the ModHFGrid. Other columns specified in the mapping information display but do not show any data.