Solved

Combo Box not Working

Posted on 2012-03-29
3
368 Views
Last Modified: 2012-03-30
I was kind enough to get this code from an expert on this website. However, when I try to duplicate what he did it doesn't come out right.

Okay what I am trying to do is add the combo box to display serial numbers. Now the original field from the table that is not a combo box. He took a unbound combo box and put code in it to search for serial numbers from the Serial Number field in the  table that holds all the serial numbers in it.

Here is the code that is done After Update:="[Serial Number] = " & "'" & [Screen].[ActiveControl] & "'"

When I display my  combo box that is unbound nothing shows up in the drop down of my form.  Im not getting any errors either.
0
Comment
Question by:gigifarrow
  • 2
3 Comments
 
LVL 12

Expert Comment

by:danishani
ID: 37785485
So what is the rowsource of your Unbound Combobox?

What has the AfterUpdate event to do with the Combobox?

What thread are you referring too? You might post this as well.
0
 

Author Comment

by:gigifarrow
ID: 37785537
0
 
LVL 12

Accepted Solution

by:
danishani earned 250 total points
ID: 37785708
Yes thanks for the reference.

So what do you have right now in place for your Combobox?
When a Combobox is blank, there is either something not mathing in the rowsource (query) or there is no recordsource at all.

Below a link on how to create a Combobox:
http://office.microsoft.com/en-us/access-help/create-a-list-of-choices-by-using-a-list-box-or-combo-box-HA010113052.aspx

Hope this helps,
Daniel
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
Read about achieving the basic levels of HRIS security in the workplace.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

758 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

20 Experts available now in Live!

Get 1:1 Help Now