VSView Reporting Edition Reference > Field Object > Field Properties > Name Property (Field) |
Returns or sets the Field name.
field.Name[ = value As String ]
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.
String