ComponentOne True DataControl 8.0
Name Property

Sets/returns field name.

Syntax

Field.Name = string

Remarks

Read/Write at run time and design time. Property applies to Field object.

This property specifies the name of a field. This must be a unique (case-insensitive) name that identifies the field in TData control expressions and in the TData control Recordset. It also serves as an index to the Fields collection returned by the Fields property. The default name for a newly added field is FIELD_number, where number is the lowest integer that would yield a unique name.

Note: In order to be used directly in TData expressions, a field’s name must be a proper identifier, that is, it must begin with a letter and contain only letters, digits, and underscores. If you have a field with spaces or other non-identifier characters, you can use the Field() function in expressions, for example, Field(“A very important field”). The Field() function returns the value of the field whose Name is specified as the function argument.

 

 


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

Product Support Forum  |  Documentation Feedback