Caliban1971
New member
- Local time
- Today, 07:12
- Joined
- May 10, 2011
- Messages
- 4
Hi.
I have a yes/no check box on a split form called "Bilingual", and when it is Yes, another control, "LanguagesSpoken" becomes enabled - which is a multivalued list of languages to choose from. My code looks like this:
Private Sub Bilingual_Click()
If Bilingual = True Then
LanguagesSpoken.Enabled = True
Else
LanguagesSpoken.Enabled = False
End If
End Sub
This works well enough, but when I move to another record or create a new record, the controls do not refresh. In other words, I want the next record to act independently, and if I create a new record, I want the "LanguagesSpoken" control unenabled until I check the "Bilingual" box. I hope this makes sense. I am using Access 2007. Thank you!
I have a yes/no check box on a split form called "Bilingual", and when it is Yes, another control, "LanguagesSpoken" becomes enabled - which is a multivalued list of languages to choose from. My code looks like this:
Private Sub Bilingual_Click()
If Bilingual = True Then
LanguagesSpoken.Enabled = True
Else
LanguagesSpoken.Enabled = False
End If
End Sub
This works well enough, but when I move to another record or create a new record, the controls do not refresh. In other words, I want the next record to act independently, and if I create a new record, I want the "LanguagesSpoken" control unenabled until I check the "Bilingual" box. I hope this makes sense. I am using Access 2007. Thank you!