B
Bruce
I have received valuable help from Cheryl Fischer and
others on this general subject. A few lingering questions
remain. Synopsis: I have a form with Yes and No check
boxes. In some cases checking No requires answering "Why
not?", and in some cases neither will be checked. I want
the check boxes to be white and blank until checked. In
the underlying table I used integer data type, no default
value. On the form I used an option group (tied to the
table field) with Yes -1, No 0, default 99 (I realize it
could have been anything other than -1 or 0, but 99
probably won't be confused with something else). It seems
I could have accomplished the same thing by making the
table field have a default value of 99. Does it matter
which I use?
On a related point, I got the same results as above when I
used text instead of integer as the data type. I had done
so in the hope of storing the values as Yes or No rather
than as -1 or 0, but could not get that to happen. Is
there a way of storing the Yes and No choices as text? It
will be easier to query, etc. in the future if I can do
so, and will not require remembering a number value.
Finally, there is a report based on the form. I want the
same check boxes as on the form, which I can do by either
creating an option group from scratch on the report, or by
copying one from the form to the report. Copying is
easier, or course, but is there a better way?
others on this general subject. A few lingering questions
remain. Synopsis: I have a form with Yes and No check
boxes. In some cases checking No requires answering "Why
not?", and in some cases neither will be checked. I want
the check boxes to be white and blank until checked. In
the underlying table I used integer data type, no default
value. On the form I used an option group (tied to the
table field) with Yes -1, No 0, default 99 (I realize it
could have been anything other than -1 or 0, but 99
probably won't be confused with something else). It seems
I could have accomplished the same thing by making the
table field have a default value of 99. Does it matter
which I use?
On a related point, I got the same results as above when I
used text instead of integer as the data type. I had done
so in the hope of storing the values as Yes or No rather
than as -1 or 0, but could not get that to happen. Is
there a way of storing the Yes and No choices as text? It
will be easier to query, etc. in the future if I can do
so, and will not require remembering a number value.
Finally, there is a report based on the form. I want the
same check boxes as on the form, which I can do by either
creating an option group from scratch on the report, or by
copying one from the form to the report. Copying is
easier, or course, but is there a better way?