Solved

MS Access 2003 AfterUpdate on drop down text box

Posted on 2008-06-13
9
174 Views
Last Modified: 2010-08-05
Capricorn,

I just got different information regarding the drop downs we just spoke about.  

the first combo box is cboMarket which I select South, Central, West.  After doing the selection I would like the next combo box which is cboID (it contains numbers beginning with various initials specific to market in some instances several initials per market) how could I  sync up depending on the Market that I choose in the after update   How could I accomplish this?
0
Comment
Question by:deer777
  • 5
  • 4
9 Comments
 
LVL 119

Expert Comment

by:Rey Obrero
ID: 21782015
now you have to attach your db, looks like you have incosistent data format.

check the attach file below. do a compact and repair first. if db is >4mb zipped it.
0
 

Author Comment

by:deer777
ID: 21782053
I will have to wait until later this evening to send you a sample of what I need.  Thanks for all your help!
0
 

Author Comment

by:deer777
ID: 21782449
Capricorn1,

What if we could allow the user to input the first two characters of the number within the drop down list and have it automatically filter off that information.  Is that possible?
0
 
LVL 119

Expert Comment

by:Rey Obrero
ID: 21782666
can you post sample data, all variations...
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 

Author Comment

by:deer777
ID: 21782786
OK my drop down text box on my form has several variations of numbers in the list

ex. AL0123, KY123, TX0123.

I want to be able to tab to that drop down text box and enter AL to filter only the numbers beginning with AL  or KY if I entered KY from my drop down list.  Is this possible?
0
 
LVL 119

Expert Comment

by:Rey Obrero
ID: 21782933
are you referring to a different drop down box (other than cboMarket ,cboID)?
0
 

Author Comment

by:deer777
ID: 21783002
only cboID . . . so I will tab from cboMarket to cbo ID and I want to filter the drop down list by several characters I input in the text box to filter out only those numbers which begin with those characters I have typed in.  Can we do this that way?
0
 
LVL 119

Accepted Solution

by:
Rey Obrero earned 500 total points
ID: 21783044
wait.. i thought that the value selected from cbomarket is related to the items in cboID.

can you post the data from the table where you are getting the values as rowsource of the combo box.


<I want to filter the drop down list by several characters I input in the text box to filter out only those numbers which begin with those characters I have typed in.> this is one of the property of combo boxes.
try this with this code in the enter or click event of the combo

private sub cboID_enter()
me.cboID.dropdown

end sub

now type the letters and the combo will automatically move to the list starting with the letters you typed.



0
 

Author Comment

by:deer777
ID: 21783591
Capricorn1

I have gone home for the evening but will try this out in the morning.  Thank you for all your help.  i have no doubt that this code will work perfectly.  Thanks much!  You're the best and it shows!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Today's users almost expect this to happen in all search boxes. After all, if their favourite search engine juggles with tens of thousand keywords while they type, and suggests matching phrases on the fly, why shouldn't they expect the same from you…
In the article entitled Working with Objects – Part 1 (http://www.experts-exchange.com/Microsoft/Development/MS_Access/A_4942-Working-with-Objects-Part-1.html), you learned the basics of working with objects, properties, methods, and events. In Work…
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, when working with VBA, learn some techniques for writing readable and easily maintained code.

920 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

12 Experts available now in Live!

Get 1:1 Help Now