Enable or disable a field based on entry in another field?

G

Guest

I have 2 fields in my Data Entry Form (Field A & B). Field A is a dropdown
field with a list of values and field B is a memo field. If field A contains
any value other than "Other" than field B should be disabled (grayed out)
else field B should be enabled (not grayed out). Any help will be most
appreciated.
Thanks in advance.
 
G

Guest

On the OnCurrent event of the form and on the After Update event of the combo
write the code

Me.[MemoFieldName].Enabled = (Me.[ComboName] = "Other")
 

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