|
|
|
|
|
- Modifying the values displayed
ControlError (Function) In french: ChampErreur
Warning
From version 17, FieldError is kept for backward compatibility. This function has been replaced with ControlError.
Customizes the value displayed in the controls when the value cannot be displayed. // Define the ceOverflow error ControlError(ceOverflow, "The control mask is too small")
Syntax
ControlError(<Type of error> , <Error message>)
<Type of error>: Constant Type of error: | | | ceBrokenBinding | The value of linked item is not found (the linked value does not exist or an error occurred while it was read). | Default display value (corresponds to 3 hash characters): "###". | ceNull | The linked item is an HFSQL item that contains NULL. | Default value displayed (empty string): "". | ceOverflow | The control value is greater than the input/display mask defined for the control. | Default value (corresponds to 5 characters plus): "+++++". | ceReadField | Error reading a field: the field doesn't exist, the data file is empty, ... | Default display value (corresponds to 4 hash characters): "####". |
<Error message>: Character string New error message associated with the type of error. Remarks Modifying the values displayed The new values will be effective only for future errors. The values assigned to the controls before using ControlError do not change. The change is global to the current program.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|