Solved

MS Access 2003 AfterUpdate on drop down text box

Posted on 2008-06-13
9
188 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 120

Expert Comment

by:Rey Obrero (Capricorn1)
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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 21782666
can you post sample data, all variations...
0
 

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 120

Expert Comment

by:Rey Obrero (Capricorn1)
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 120

Accepted Solution

by:
Rey Obrero (Capricorn1) 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

825 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