Check Box seems to have 3 states as default
Fri, 30 May 2014 - 10:48 AM
Hello All… When I put a check box in Base bound to a Boolean field it seems to have 3 states not 2
as a default. I know there is a tri-state option.
Any one else run into this? Any Help would be appreciated.
Thx Dave
Fri, 30 May 2014 - 4:37 PM
#1
Check Box seems to have 3 states
Would they be NULL, 0, 1?
Sat, 31 May 2014 - 4:52 PM
#3
Check Box control on form - please check
Hi Dave:
Is the text-box (or column) in your form a check-box type? There should also be a ‘tri-state’ property visible which can be set to ‘no’. See attached screenshot.
Attachment | Size |
---|---|
Base_form_checkbox_properties.png | 53.94 KB |
Mon, 02 Jun 2014 - 12:34 PM
#4
Thx Again
Thx Frofa
I chose the Booleen or Yes/No Field as the bound field type, which is what I have read
is correct. It seems to have three options itself however.
Answering No or leaving it in it default state (Non Tristate) seems to allow you to use it only once from a form.
It works, just a little weird having three answers in a field what should have only two.
Wed, 04 Jun 2014 - 2:49 PM
#5
Solved
Figured it out It is a tough one, at least for something that should be simple. You have to create a Boolean field with only 2 States. Which are true and false
The GUI didn’t seem to allow this so you have to input SQL directly under the tools
Menu the following
ALTER TABLE “Table_Name” ADD “Column_Name” BOOLEAN DEFAULT FALSE NOT NULL;
Then create the check box.
Thx all
I am using LO 4.204 and HSQLDB 2.3 in a multi user state, if that makes any difference
Again I appreciate any thoughts or help here!