MS Access - Form - Combo box selection get grey

Hi,

I have a form that have a subform. In that subform there is a combo box that have drop down from which user select some value. When user select from drop down it gets grey. I try to search but not able to find the solution. Any idea why it appears grey and how to solve this.

Thank you.
error.png
LVL 1
WSStudentAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

als315Commented:
There could be many reasons: non-updatable query in subform, field was locked for updates, etc.
Can you upload sample DB with this form and related tables/queries with some dummy data?
0
Gustav BrockCIOCommented:
Most likely, it could be the AfterUpdate  event of the control.

/gustav
0
WSStudentAuthor Commented:
@Gustav, there is no after update event in the control.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Gustav BrockCIOCommented:
If it is grey all the time, it not enabled, thus you shouldn't be able to dropdown.
So isn't it just the backcolor that needs to be adjusted?

/gustav
0
Dale FyeCommented:
Check the conditional formatting of the control.

It may be configured with an expression that disables the control if it has a value.
0
WSStudentAuthor Commented:
Thank you everyone.

I checked all of these things and nothing work, then i remove that combo box and added again, after which it start working, I can't understand the reason behind this, i would be happy if someone can tell the logic behind this so that next time it would be helpful.

Thanks again.
0
Dale FyeCommented:
As mentioned above, there are a number of ways to disable a control, but this generally occurs either in the controls AfterUpdate event, or via conditional formatting.

Deleting the control and adding it back again would eliminate the afterupdate or conditional formatting.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.