473,385 Members | 1,192 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

how to filter list of items in a combo box by selecting items in another combo

mmwit
15
dears!

I want to list provinces and districts, and want when I selec province 1 all the districts of provinces should only be shown to me in the district combo, and if I select the 2nd province in the province combo the disctrict combo should list me the names of districts belong to 2nd province

also attached is the file, hope this help you

and yeah I should remind you dears, that the app is again Access 2010

Attached Images
File Type: jpg relationship.jpg (35.9 KB, 1449 views)
Attached Files
File Type: xlsx Province list.xlsx (8.5 KB, 355 views)
File Type: xlsx District list.xlsx (18.1 KB, 479 views)
Jan 29 '13 #1
6 3679
TheSmileyCoder
2,322 Expert Mod 2GB
This type of question has been asked over and over again. Please check out http://bytes.com/topic/access/insigh...mbo-list-boxes and also Example: Filtering on a form and if you still have questions come back with them.
Jan 29 '13 #2
NeoPa
32,556 Expert Mod 16PB
Another one, for this specific issue, is Cascaded Form Filtering.
Jan 29 '13 #3
zmbd
5,501 Expert Mod 4TB
Although related, I've moved the posts by dgalter and Seth into thier own thread: Cascading Combo Box Filtering.
Jan 31 '13 #4
NeoPa
32,556 Expert Mod 16PB
A set of posts that started with a hijack have been moved to a new thread (How do I Use Cascaded Filters).
Jan 31 '13 #5
mmwit
15
thanks for your replies I'm working on and will reply you all dear developers about the result, onething more I wanted to mention you all, is it effect anything on having primary keys on both tables, which are in a relationship to each others,

see above pictures I uploaded

Thanks
Feb 6 '13 #6
zmbd
5,501 Expert Mod 4TB
mmwit:
That question is barely related to your orignial post...
But is yet a seperate question.
As such it should be in a new thread. You can always include a link to the old thread should you wish to have that information as a reference.

I must insist that you read the following links.
You will be expected to follow the guidlines set forth in them for all future posts:
Before Posting (VBA or SQL) Code.
How to ask "good" questions -- READ BEFORE SUBMITTING A QUESTION!.
POSTING_GUIDELINES: Please Read Carefully Before Posting to a Forum.

I have also sent you PM
Feb 6 '13 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Amin Gunawan via .NET 247 | last post by:
I would like to put a combo box in a column of a datagrid. I've seen the samples in the MSDN library of other sources, butall samples didn't catch the 'DOWN/UP' keystroke. It means thatwhen I select...
2
by: D | last post by:
Book inventory. Access 2K. I'm trying to let a user choose a book title from one combo box, then a book number for that book title from another combo box. I can filter the book number combo with...
6
by: vb | last post by:
Hi, I am new to .Net. I am using a Combo Box in my windows forms. I am adding the items by creating the instances and adding the same to the list. My questions/doubts are: 1. If I have 25 to...
7
by: sara | last post by:
I have a form where the user selects an item from a list box, and then works on that item. The user chooses an AD, then opens a form to assign departments to the ad. The top of the Depts form has...
3
by: imtmub | last post by:
Hi, I need to filter from one combo box to another in MsExcel. I have two combo box. one is Categary and another is product. If the user select categary depend on that second combo box filter only...
3
by: Pramod Kadur | last post by:
Hello, Scenario: I have got two combo box in my program. As per the selection of an item in my first combo box, i need to populate list of items/item in the second combo box. Can anyone...
2
by: SM | last post by:
Hello, I have an HTML file that contains a form with 2 selection list (combo box). The first combobox 'onchange' function, addColor(),adds a new color to the second combobox. I have half of the...
1
by: viranadim | last post by:
I am having problems with attempting to filter a form based on criteria selected in a combo box from another form. I am attempting to filter a form called "Ford CheckList" that is based on a table...
6
by: troy_lee | last post by:
I have a continuous form that has one combo box (cbo1) with the selectable values of "Removal" and "Installation". I would like to change another combo box (cbo2) value list based on the selection...
3
by: lrw0831 | last post by:
I have a table named AssignedTo. In this table are the fields: AssignedTo_ID, Department, Employee. On my form, I need to create 2 combo boxes. The first one will select the department. Based...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.