Skip to content

Validate_Items - cDbTextEditDS_

Checks the number of characters in the control (using CharCount) against the size of the column in the table.

Type: Function
Return Data Type: Integer

Parameters

Parameter Type Description
bNotFindReq Boolean [ToDo: In Progress]

Syntax

Function Validate_Items Boolean bNotFindReq Returns Integer

Call Example

Get Validate_Items bNotFindReq to IntegerVariable

Description

The function checks the number of characters in the control (using CharCount) against the size of the column in the table. The size of a table.column can be queried via the attribute DF_FIELD_LENGTH. This is done inside the function. If the current size exceeds the defined size, error DFERR_TEXT_TOO_LARGE_FOR_FIELD is reported to the operator.