Solved

Combobox won't let me select

Posted on 2006-11-03
9
207 Views
Last Modified: 2012-06-21
Hi,

I have a combobox of Value List type which is populated like this in onCurrent event:

Private Sub Form_Current()
    Me.Combo25.AddItem "Occupied"
    Me.Combo25.AddItem "Unoccupied"
End Sub

The problem is that I simply can't select the value. I can't type in the combobox, nothing! Why is that?
0
Comment
Question by:RealSnaD
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
9 Comments
 
LVL 61

Accepted Solution

by:
mbizup earned 500 total points
ID: 17868350
Double check that the combo box is enabled and it's locked property is set to "No"

That code alone should not have that effect.
0
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 17868357
Private Sub Form_Current()
    me.combo25.rowsourcetype="Value List"
    me.combo25.rowsource="Occupied;Unoccupied"
End Sub
0
 
LVL 7

Author Comment

by:RealSnaD
ID: 17868358
checked. enabled - yes, locked - no.
0
What Is Blockchain Technology?

Blockchain is a technology that underpins the success of Bitcoin and other digital currencies, but it has uses far beyond finance. Learn how blockchain works and why it is proving disruptive to other areas of IT.

 
LVL 7

Author Comment

by:RealSnaD
ID: 17868427
Haha, I had Allow Edits set to No in my form. That was the problem. capricorn1, thanks  for the advice.
0
 
LVL 61

Expert Comment

by:mbizup
ID: 17868465
RealSnaD,
> I had Allow Edits set to No in my form.
I think that was closer to my post...
0
 
LVL 7

Author Comment

by:RealSnaD
ID: 17868483
Oops, sorry mbizup. I thought the first person who replied was also capricorn1. I'm really running late. That's why. Sorry.
0
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 17868534
RealSnaD
request to reopen the q from CS
0
 
LVL 7

Author Comment

by:RealSnaD
ID: 17873949
mbizup, thanks.
0
 
LVL 61

Expert Comment

by:mbizup
ID: 17873954
Glad to help out.  
Thank you and Rey for setting it straight.
0

Featured Post

Does Your Cloud Backup Use Blockchain Technology?

Blockchain technology has already revolutionized finance thanks to Bitcoin. Now it's disrupting other areas, including the realm of data protection. Learn how blockchain is now being used to authenticate backup files and keep them safe from hackers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

635 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question