If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Access > Cascading Combo List Help

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-02-12, 18:56
krico krico is offline
Registered User
 
Join Date: Jan 2012
Posts: 2
Unhappy Cascading Combo List Help

Hey Guys,

Anyone would be able to offer a newbie some help. I would most appreciate it. I am trying to work on a project where my company has Markets/Districts/Branches. I have created three seperate tables and also built the desired relationship. I am having trouble with the code... I can navigate from Markets to Districts, but my final step on Branch's combo box does not display the final branch results... Any ideas?

Option Compare Database


Private Sub CboMarketNo_AfterUpdate()
Me.CboMarketNo.Requery
End Sub

Private Sub CboMarketNo_Change()
Me.CboDistrictNo.Requery
Me.CboDistrictNo = vbNullString
End Sub

Private Sub CboDistrictNo_AfterUpdate()
Me.CboBranchNo.Requery
End Sub
Reply With Quote
  #2 (permalink)  
Old 01-02-12, 20:32
alansidman alansidman is offline
Registered User
 
Join Date: Dec 2009
Location: Lake County, IL
Posts: 8
Reply With Quote
  #3 (permalink)  
Old 01-02-12, 20:39
krico krico is offline
Registered User
 
Join Date: Jan 2012
Posts: 2
Smile Thank you!

alansidman,

Thanks for the prompt reply! I have been working on this database for a few days now and pretty much making it work. The only thing I am confused on is the fact that the Tables are being displayed on each drop down menu correctly, but somehow it retains the first value on the list on the two subsequent combo boxes. I don't seem to get it to work, so that the value I choose is fixed throughout the form. Please help....

Krico
Reply With Quote
Reply

Tags
access, cascading, database, menu, vba

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On