Parameter | Description |
---|---|
iField | Number of the column in the table |
sTrue | Checkbox value of column iField when checkbox is checked |
sFalse | Checkbox value of column iField when checkbox is not checked |
Write Access: | Set Field_CheckBox_Values iField to sTrue sFalse |
Field_Checkbox_Values configures a table column for use with a checkbox control. A checkbox column can only store one of two values; a True value and a False value.
If the column is represented by a checkbox control (e.g. dbCheckBox), then the control will be checked when the column value evaluates to True, and is unchecked when the column value evaluates to False.
If the column is represented by a form control (e.g. dbForm) then data entry will be restricted to either the True value or the False value.
When a validation error occurs, the error number and text specified for the column in the Field_Error property are used to report an error. If no text was defined, a standard check-error text will be reported.
Set Field_Checkbox_Values Field Customer.Status to "A" "I"See Also