Switch to: V10V9V8V7V6V5

VVarChar Class: Properties

VVarChar.MaxLength

Declaration:

MaxLength as Integer

Description:

The Maximum length of a VVarChar field can be in the range of values 1..4088 bytes. For UTF-16 strings this is 1..2044 chars.

Note: This operation may take relatively long time for a big table.

Example:

len = fldVarChar.MaxLength
fldVarChar.MaxLength = 120

VVarChar.IndexByWords

Declaration:

IndexByWords as Boolean

Description:

Using this flag you can specify that a String or a VarChar field should be indexed by words.

Example:

fldString.IndexByWords = TRUE

VVarChar.Value

Declaration:

Value as String

Description:

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

Example:

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