By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,495 Members | 1,209 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,495 IT Pros & Developers. It's quick & easy.

Using a Check Box to make a Text Visible/Invisible

P: 10
Hello
I have a form where there is a check box and it clicked new text is visible. The problem is when I add a new record that does not have the check box checked and then I filter through the rest of the records that do have it checked the text is no longer visible. below is the code that I have. Thanks for the help.

Expand|Select|Wrap|Line Numbers
  1. If Me.Check117 Then
  2. Me.duration.Visible = True
  3. Me.txthrs.Visible = True
  4. Me.eventdateend.Enabled = False
  5. eventdateend = eventdatestart
  6. Else
  7. Me.duration.Visible = False
  8. Me.txthrs.Visible = False
  9. Me.eventdateend.Enabled = True
  10. End If
Jan 5 '12 #1

✓ answered by Rabbit

Put that code in the On Current event of the form as well.

Share this Question
Share on Google+
2 Replies


Rabbit
Expert Mod 10K+
P: 12,315
Put that code in the On Current event of the form as well.
Jan 5 '12 #2

P: 10
Thanks! I knew it was something like that I just couldn't find the right event.
Jan 5 '12 #3

Post your reply

Sign in to post your reply or Sign up for a free account.