Help with greying out a field

  • Thread starter Thread starter TD
  • Start date Start date
T

TD

I have a form that I want to be able to grey out Field #2 if the user
selects a value of true from Field #1. If the user selects a value of false
from Field #1, then I want that user to be able to make an entry in Field #2
(in orther words not be be greyed out.)
Can this be done?

Thanks,
TD
 
Hi TD

Yes. In the AfterUpdate event procedure of Field1, put the following line
of code:

[Field2].Enabled = [Field1] <> False
 
Back
Top