Bt_IgnoreFieldReadError() Function


<< Click to Display Table of Contents >>

Navigation:  System Settings >


Bt_IgnoreFieldReadError() Function


Previous pageReturn to chapter overviewNext page





Show error messages when reading data







FUNCTION Bt_IgnoreFieldReadError ( lSet )  AS LOGIC







LOGIC                The current setting of Bt_IgnoreFieldReadError()







This flags determines the way Read-Errors are handled. When the flag is TRUE no error messages will be generated, but a default value will be returned.

Errors ignored are:

Wrong Field sizes

Unsupported or non-existing Field types

When the flag is FALSE (which is default) Bt_ShowTypeError() determines how the error message is displayed. When Bt_ShowTypeError() = TRUE, a messagebox is shown, when it is FALSE, the VO Error handler will be called.

The default behaviour is that Read errors are NOT ignored







// In this example, errors encountered when reading fields

// will not display and the values will be zero filled, fields

// written to the database will display an error when a

// value cannot be converted properly.

// Once an error is discovered, the VO Error handler will be called.








See Also



Bt_IgnoreFieldWriteError(), Bt_ShowTypeError()