Switch to: V10V9V8V7V6V5

VString Class: Properties

VString.MaxLength

Declaration:

MaxLength as Integer

Description:

The Maximum length of a VString field can be in the range of values 1 .. 65535 bytes. Although it is not recommended to use VString for strings longer of 50-200 bytes, instead prefer VVarChar or VText.

Note: This operation may take relatively long time for a big table because we need change size of this field for all existed records in the Table.

Example:

len = fldString.MaxLength
fldString.MaxLength = 120

VString.IndexByWords

Declaration:

IndexByWords as Boolean

Description:

Using this flag you can specify that a VString field should be indexed by words.

Read more about index_modifiers.

Example:

fldString.IndexByWords = TRUE

VString.Value

Declaration:

Value as String

Description:

You can use this property to set or get the value of a VString field.

Example:

fldFirstName.Value = "John"
fldLastName.Value = "Roberts"