4. System Classes : EntryField Class : TextValue Attribute
 
Share this page                  
TextValue Attribute
Data Type: nvarchar(256)
4GL Access: RW
The TextValue attribute contains the first 256 characters of the text in the field, exactly as they appear in the field.
If this field is an entry field, then this attribute holds the first 256 characters of data. If this field is a box trim or free trim field (subclasses of EntryField), then this attribute holds the text that the field displays.
For multiline entry fields, this attribute does not include any extra spaces added for word wrap, although it does include hard tabs and newline characters.
Although this attribute can be used to access data in entry fields, it is easier to use the variable associated with the field instead.
Note:  For free trim and box trim fields, you can both read and write this attribute.