In article <C1EB500C.335D%pismo (AT) dslextreme (DOT) com>, Pismo
<pismo (AT) dslextreme (DOT) com> wrote:
Quote:
I have several boxes that I would like to tab to and then clicking in the
field would create a checkmark. Clicking again would remove the checkmark.
Any suggestions?
FMP 6.04 Mac |
That's what the Checkbox formatting of a field is for.

)
First you need to use the Define Value List menu option to create a new
Value List with just one value of "On" (or "Yes" or "Smurfberry Juice"
or whatever you want).
Next define your fields as normal and put the fields on the layout. If
the fields already exist, then you will need to go through deleting the
data from them so that field is empty.
For each field, click on it and the choose Field Format from the Format
menu. Here you can choose to format the fields as a Checkbox using the
Value List you defined above. Also make sure each field has a line
colour set for it in FileMaker's side toolbar.
You may need to stretch the fields' widths to see you value's text.
Alternatively you can shrink the width of the fields and use a normal
text label put next to the checkbox.
In scripts and calculations you can see if the checkbox is turned on or
off by:
If (MyCheckboxField = "On")
Message ("Checkbox is on")
End If
and
If (MyCheckboxField <> "On")
Message ("Checkbox is off")
End If
(Note: the "<>" symbol means "not equal" and can be replaced by the
equals symbol with a line through it, but either way works.)
Helpful Harry
Hopefully helping harassed humans happily handle handiwork hardships ;o)