Solved

Can't select from combo box?

Posted on 2008-09-30
3
959 Views
Last Modified: 2013-11-28
I've got a combo box whose RowSource is set in VB, as the contents differ based on the calling parameters for the form.

The combo box is populated with the correct values,and I can pull it down and highlight a value, but clicking on the value does nothing.  The value can not actually be selected.

The properties are identical to those for all our other combo boxes, and the form properties look fine as well. I haven't seen this one before......any ideas would be appreciated.

Thanks!
Lynne
0
Comment
Question by:L_Malchiodi
3 Comments
 
LVL 10

Expert Comment

by:calpurnia
ID: 22609280
The most obvious cause I can think of for this kind of behaviour is if the Locked property of the control is set to Yes, but from what you've said, this doesn't apply in this case. Any chance of uploading a sample version of your db?
0
 
LVL 84

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 500 total points
ID: 22610372
Do you have any code running in the AfterUpdate or Change (or other) Events?

This could also be caused by an incorrect RowSource and Bound Column settings ... in most cases, the Bound Column should be 1, and the RowSource should include the PrimayKey value of the underlying recordsource in the FIRST column place.
0
 

Author Closing Comment

by:L_Malchiodi
ID: 31501721
Thank you!  The Row Source and Bound Column settings had been changed.   After correcting that, I can select from the combo box again.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now