CharacterLimit property

Sets or returns the number of lines of text allowed in the edit box for plain text database cells.

Syntax


C++

HRESULT get_CharacterLimit(LONG* pCharacterLimit)
HRESULT put_CharacterLimit(
LONG myCharacterLimit)

Scripting languages

Value = object.CharacterLimit
object
.CharacterLimit = Value

Remarks


You can only set the CharacterLimit property if the DataType property is set to erCellDataTypePlainText. Otherwise, CharacterLimit returns EROOM_E_INVALIDOPERATION.

A value of 0 indicates that there is no limit.

Currently, the default value for CharacterLimit is 40.

Currently, the maximum allowable value for CharacterLimit is 256.

Home

Applies to

IERUDBColumn