Bt_IgnoreFieldWriteError() Function

 

<< Click to Display Table of Contents >>

Navigation:  System Settings >

 

Bt_IgnoreFieldWriteError() Function

 

Previous pageReturn to chapter overviewNext page

 

Purpose

 

 

Show error messages when reading data

 

 

 

Prototype

 

 

FUNCTION Bt_IgnoreFieldWriteError ( lSet )  AS LOGIC

 

 

 

Return

 

 

LOGIC                The current setting of Bt_IgnoreFieldWriteError()

 

 

 

Description

 

 

This flags determines the way FieldWrite-Errors are handled. When the flag is TRUE no error messages will be generated, but the write will not be done as well.

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.

Note

Field writes also applies to Seek() operations. In that case values are written into the seek-buffer.

The default behaviour is that Write errors are NOT ignored

 

 

 

Example(s)

 

 

// 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.

Bt_FieldIgnoreReadError(TRUE)

Bt_FieldIgnoreWriteError(FALSE)

Bt_ShowTypeError(FALSE)

 

 

 

 

See Also

 

 

Bt_IgnoreFieldReadError(), Bt_ShowTypeError()