Re: How can I toggle a Yes/No check box and display value in adjoining field ?
- From: mthornblad@xxxxxxxxx
- Date: Thu, 25 Oct 2007 01:18:14 -0700
On Oct 25, 2:51 am, "Wolfgang Kais" <w.k...@xxxxxxxxxxxxxxxxxxxxxxx>
wrote:
Hello.
Mark wrote:
I have a test form with two fields. The first field is a Yes/No
checkbox. The second field is a text box that I want to display
"checked" if the checkbox is checked and "unchecked" if the
checkbox is not checked.
Now, if I check the checkbox the text box displays "checked".
However, if I uncheck the checkbox, "checked" remains in the
text box.
What have you done to make th word "checked" appear?
I want to the text box to toggle between "checked" and "unchecked"
when I check and uncheck the checkbox.
Let's assume that the checkbos is named chkMyCheckBox, then the
control source for the textbox should look like this:
=Iif([chkMyCheckBox],"checked","unchecked")
--
Regards,
Wolfgang
Wolfgang
You da man !!!
Thanks for your help. That's exactly what I wanted to know. Maybe I
didn't ask the question correctly
but you were able to hit the nail on the head. You don't know how
happy I am. I was banging my head
on the wall trying to figure it out. Maybe I'm not the brightest bulb
on the tree but thanks to you I am
able to forge ahead.
Thanks
Mark
.
- Follow-Ups:
- Re: How can I toggle a Yes/No check box and display value in adjoining field ?
- From: joannecapozzoli
- Re: How can I toggle a Yes/No check box and display value in adjoining field ?
- References:
- How can I toggle a Yes/No check box and display value in adjoining field ?
- From: mthornblad
- Re: How can I toggle a Yes/No check box and display value in adjoining field ?
- From: Wolfgang Kais
- How can I toggle a Yes/No check box and display value in adjoining field ?
- Prev by Date: search for names
- Next by Date: RE: Combo box pulldown menu is suddenly blank, yesteday fine.
- Previous by thread: Re: How can I toggle a Yes/No check box and display value in adjoining field ?
- Next by thread: Re: How can I toggle a Yes/No check box and display value in adjoining field ?
- Index(es):
Relevant Pages
|