R rmdrye Registered User. Local time Today, 22:38 Joined Aug 19, 2001 Messages 10 Jan 4, 2002 #1 I would like a field to be accessible only if specific selections are made from the previous combo box. Could someone help me with the code for this? Thank You...Robert
I would like a field to be accessible only if specific selections are made from the previous combo box. Could someone help me with the code for this? Thank You...Robert
Emohawk What a wicked mullet... Local time Today, 22:38 Joined Mar 14, 2002 Messages 79 Jan 4, 2002 #2 In the After Update event of you combo box put this. If My_Combo = "Some_Value" then My_Field.Locked = True My_Field.ForeColor = 0 'Whichever colour for grey else My_Field.Locked = False My_Field.ForeColor = 0 'Whichever colour for black End If HTH
In the After Update event of you combo box put this. If My_Combo = "Some_Value" then My_Field.Locked = True My_Field.ForeColor = 0 'Whichever colour for grey else My_Field.Locked = False My_Field.ForeColor = 0 'Whichever colour for black End If HTH
David R I know a few things... Local time Today, 16:38 Joined Oct 23, 2001 Messages 2,632 Jan 4, 2002 #3 You may also want to use the Current event if this is going to have to be true in existing records too when you page through them. David R
You may also want to use the Current event if this is going to have to be true in existing records too when you page through them. David R