ComponentOne VSView Reporting Edition
Section Property

Returns or sets the Section to which the Field belongs.

Syntax

field.Section[ = SectionTypeSettings ]

Remarks

You can read this property to determine which section the field belongs to, or set the property to move the field to a new section.

For example, the code below moves all fields on the page header section to the page footer section:

Dim i%, iSec%

For i = 0 to vsr.Fields.Count - 1

    iSec = vsr.Fields(i).Section

    If iSec = vsrPageHeader Then

        vsr.Fields(i).Section = vsrPageFooter

    End If

Next

Data Type

SectionTypeSettings (Enumeration)

 

 


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

Product Support Forum  |  Documentation Feedback