how to make tick box enabling (for edit) other text box? (in MS A.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

how to make a `tick box` enabling (for editing) other `text box` or enabling
other functions on form in Microsoft Access? If anybody know the answer,
please help me! Thank you in aticipation...
 
if otion1 = true then
Option2 = false
textbox1.enabled = true
textbox2.enabled = false
end if
in this sample code, if option1 is ticked then code will
untick options 2 and enable textbox1 and unenable textbox2
(gray out)
 
Add the following to both the AfterUpdate event procedure of the check box
and the Current event procedure of the form ...

Me!NameOfTextBoxHere.Enabled = (Me!NameOfCheckBoxHere)

--
Brendan Reynolds (MVP)
http://brenreyn.blogspot.com

The spammers and script-kiddies have succeeded in making it impossible for
me to use a real e-mail address in public newsgroups. E-mail replies to
this post will be deleted without being read. Any e-mail claiming to be
from brenreyn at indigo dot ie that is not digitally signed by me with a
GlobalSign digital certificate is a forgery and should be deleted without
being read. Follow-up questions should in general be posted to the
newsgroup, but if you have a good reason to send me e-mail, you'll find
a useable e-mail address at the URL above.
 
Back
Top