473,511 Members | 16,068 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

is it possible in access to make asub combo box from amain combo box?

16 New Member
itis like menus and sub menus .
for example i have acombo box with 5 selections in it. and each selection has it's own 3 sub selections . now i want the sub selection appear when i click on the main selection in the combo box.and so on with the rest of the selections

is this can be done in access?
Jan 26 '10 #1
3 1281
Stewart Ross
2,545 Recognized Expert Moderator Specialist
Hi Kurai, and Welcome to Bytes!

A combo box cannot have subsections, so what you ask cannot be done with one combo on its own. It is possible to use multiple combo boxes to do so, where the outermost represents the top-level choice and the innermost represent progressively finer detail layers. We have an insights article on this topic which may help you - see Cascading Combo/List Boxes for the details.

It is possible to use a different form of control to store tree-structured lists. There is an ActiveX tree control available for this purpose. Its use is by no means simple, however, and unless you have developed a good level of programming expertise to be able to populate the tree details yourself via code I would not recommend you consider such an approach.

-Stewart
Jan 26 '10 #2
kurai hikari
16 New Member
thanks alot the example was exactly what i wanted to make. thank u very much:)

but i find some difficulty in doing that with three combo boxes. for example: i want to press on the company name in (combobox1) to see it's related employees in (combobox2), then i press on the employee to see his achievments in (combobox3)

so how can this be done ? i have 3 tables only 2 tables r connected with the ID of the company, but the third which contains the achievments is connected to the tblemployee with the EID.


thanks
Jan 31 '10 #3
beacon
579 Contributor
Hi Kurai,

It sounds like you should be able to set up a query with these three tables, as there are relationships established between the three, and then develop your combo boxes from the query instead of the tables.

I haven't tested this out and it's been a while since I've done it myself, but I think the only difference for the last combo box (if you create a query with all the info in it) would be that your WHERE statement would have two conditions: "WHERE [CompanyID]=" & Me!CompanyID & " AND [EmployeeID]=" & Me!EmployeeID.
Feb 1 '10 #4

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

Similar topics

24
2738
by: Bob Alston | last post by:
Most of my Access database implementations have been fairly small in terms of data volume and number of concurrent users. So far I haven't had performance issues to worry about. <knock on wood> ...
0
1096
by: Mike | last post by:
I have a form in a Access Project (SQL DB on the back end). On this form I have created a Combo box that pulls a list of dept and dept #'s from the DEPT table, and displays the dept name in the...
0
1075
by: Eddie | last post by:
In Microsoft Access form, combo box can be binded to the table or query and can be shown as multi column, getting a actual binded column and showing columns. I'm struggling to make a...
2
4209
by: egoldthwait | last post by:
I need to convert a 17mb access 2000 db to Oracle and house it in a Citrix farm. The issue: we have never converted an Access Db to Oracle but can probably use Oracle's Workbench to assist with...
9
6741
by: Edwinah63 | last post by:
Hi everyone, Please let there be someone out there who can help. I have two BOUND combo boxes on a continuous form, the second being dependent on the first. I have no problem getting the...
6
6245
by: onnodb | last post by:
Hi all, While working on an Access UI to a MySQL database (which should be a reasonable, low-cost, flexible interface to the DB, better than web-based, much less costly than a full-fledged .NET...
4
2590
by: keri | last post by:
Hello again, While I try and solve the calender issue I also have another problem. I have a form & table (appointments) where the user records appointments in the future. The fields include...
1
2975
by: wizardRahl | last post by:
Hello, I'm curious to know if there is a way to select all tables when using a query in access. I have some (unsuccessful) cascading combo boxes and need a little help maybe working out the...
10
5822
by: =?Utf-8?B?UiBSZXllcw==?= | last post by:
Hi, Problem: How can I databind (or put) a SqlServer query's row return of 115,000 items into a ComboBox quickly? Not much longer than a matter of seconds, that is... Scenario: I am...
5
3973
by: giandeo | last post by:
Hello Experts. Could you find a solution for this problem please! I have the following tables in Access Database Table Name: origin Fields Names: country, countrycode Table Name: make...
0
7138
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7353
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7418
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5662
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5063
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
4737
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3222
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3212
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1572
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.