Check box problem!

J

jackrobyn1

Firstly i have a check box that when UNselected i want Text1 to be greyed
out, the code ive tied to use does the opposite! what should i use instead?

Private Sub Check0_AfterUpdate()

Me.Text1.Enabled = Not Me.Check0

End Sub

And the form is a coninous one and when i click the check box it affects all
the records in the continous form, i dont want this to happen! is there a way
to stop this?

Sorry but i'm a complete novice
 
B

Bob Quintal

Firstly i have a check box that when UNselected i want Text1 to be
greyed out, the code ive tied to use does the opposite! what
should i use instead?

Private Sub Check0_AfterUpdate()

Me.Text1.Enabled = Not Me.Check0

End Sub
Me.Text1.Enabled = Me.Check0
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top