DtvLong dal_fld_wri_sel_log (idf, log)

Writes a boolean value as search term into the query buffer of the field.

Input Parameters Significance
DtvLong idf field Id
DtvLong log boolean value as search term

Output Parameters Significance
no -

Return Code Significance
0 no error
-1 field Id is NULL
3 wrong field type

You can write boolean values only in the query buffer of fields of the type boolean.

When you enter log = 0, DataView sets the toggle to > OFF < (displayed as > n < ), when you enter any other value for log, the toggle is set to > ON < (displayed as > y < ).