ComponentOne VSView Reporting Edition
Name Property (Field)

Returns or sets the Field name.

Syntax

field.Name[ = value As String ]

Remarks

The field name can be used as an index into the control's Fields collection. For example:

vsr.Fields("FirstNameField").Height = 1440

It is also used to identify the field in a VBScript expression. For example:

vsr.Sections(vsrDetail).OnPrint = "FirstNameField.Height = 1440"

NOTE: You should adopt a naming scheme for fields that prevents duplicate names, or names that are identical to recordset field names. Although legal (the control will accept them), duplicate names will prevent you from accessing the field from VBScript code.

Data Type

String

 

 


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

Product Support Forum  |  Documentation Feedback