Solved

Combo box question

Posted on 2015-01-29
8
148 Views
Last Modified: 2015-01-29
Hi Experts,
I have a question about combo box on one of my form in Access.  I have a address form that has field name ZipCode and this is a combo box, I do have a table for all the zip code which from 00501 to 99950, but the combox box only show the zip code up to 78552, if user select 80012, it does not show on the drop down.  I have the combo box set up as : Row Source : tblZipCodes,  RowSourceType: Table/Query.  

Thanks,
0
Comment
Question by:urjudo
[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
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 34

Expert Comment

by:Mike Eghtebas
ID: 40577979
re:>  if user select 80012

Q1: How users select a zipcode? Through the combo box?

If so, then the combox box show 80012.

Q2: Does 80012 exists in tblZipCodes?
0
 

Author Comment

by:urjudo
ID: 40577989
Yes, users select a zipcode from the drop down combo box and also the 80012 zip code is existing, but the drop down combox only shows up zipcode to 78552, really have no idea why.
0
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 40577991
run this query

select * from  tblZipCodes where zipcode="80012"


see if you get result
0
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 40577996
oh.. it could be a limitation on the number of rows a combo box can show.
0
 
LVL 92

Expert Comment

by:Patrick Matthews
ID: 40578002
Comboboxes have a max listcount of ~65k items.  From a UI design standpoint, offering even that many is not providing a good user experience.

How about filtering that list?  For example, if the user enters the state before the zip, requery to have the combobox list only those zip codes applicable to the indicated state.
0
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 500 total points
ID: 40578011
see this link for work around

http://allenbrowne.com/ser-32.html
0
 
LVL 34

Expert Comment

by:Mike Eghtebas
ID: 40578048
So, after selection, you need to set combo box to the selected value in the form's underlying table (in current even) like:

Me!ComboboxName = Me!txtSlectedZip

If you do not have Me!txtSlectedZip on your form, then in the control source of your combo box insert field [ZipCode]
0
 

Author Closing Comment

by:urjudo
ID: 40578072
Thanks, I'm going to try it.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
In earlier versions of Windows (XP and before), you could drag a database to the taskbar, where it would appear as a taskbar icon to open that database.  This article shows how to recreate this functionality in Windows 7 through 10.
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 how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

762 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