473,396 Members | 2,147 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,396 software developers and data experts.

Linking list boxes?

Perhaps I'm not using Google very well, but can't find anything of any use to me concerning this.

OK, so I'm working on a database for ICT coursework (therefore know diddly squat about them lol). 2 tables: CarMake(Registration, Make, Type) and Model(Make, Model). Make obviously links to Make in the first table. What I would like to do, is when someone selects a car make, a [small] list of models is displayed corresponding to that model. Hope that makes sense. I rather wouldn't delve into VB code if I could help it, but will if I have to. I would be very grateful if anyone could help! Many thanks :),

Soraya.
Nov 27 '06 #1
2 2472
NeoPa
32,556 Expert Mod 16PB
I would suggest that you go into Access and create the tables as described.
Link the tables in Relationships.
Create a query returning results from linked tables (INNER JOIN or Type 1 link).
Create a form based on the query, using the Form wizard.
If this doesn't give someone studying ICT what they need then we can help further I'm sure.

It's a more sophisticated way of doing a simple form with an unbound combo listing the Makes.
Let us know if that's the approach you would prefer.
Nov 27 '06 #2
MMcCarthy
14,534 Expert Mod 8TB
Perhaps I'm not using Google very well, but can't find anything of any use to me concerning this.

OK, so I'm working on a database for ICT coursework (therefore know diddly squat about them lol). 2 tables: CarMake(Registration, Make, Type) and Model(Make, Model). Make obviously links to Make in the first table. What I would like to do, is when someone selects a car make, a [small] list of models is displayed corresponding to that model. Hope that makes sense. I rather wouldn't delve into VB code if I could help it, but will if I have to. I would be very grateful if anyone could help! Many thanks :),

Soraya.
If Make is not a unique value then it shouldn't be the primary key of the Model table. In fact you shouldn't have been able to make it the primary key. It would make more sense for Make and Model together to make up the primary key.
Nov 27 '06 #3

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

Similar topics

2
by: Tony Williams | last post by:
I have two tables one lists the names of committees and the other is a list of documents they generate. I have a form based on the documents table which gives details of the document including...
2
by: ahoodless | last post by:
hi i have a problem that I have tried desperately to tackle but cannot seem to complete. basically i am trying to create a form with three dropdown lists, the tricky part is i want the 3rd drop...
1
by: Daveyk0 | last post by:
Hello there, I have a front end database that I have recently made very many changes to to allow off-line use. I keep copies of the databases on my hard drive and link to them rather than the...
11
by: dskillingstad | last post by:
I've been struggling with this problem for some time and have tried multiple solutions with no luck. Let me start with, I'm a novice at Access and I'm not looking for someones help to design my...
6
by: davegb | last post by:
I've searched here and in the help screens, but I can't find the answer to a very simple question. How do I create a specific link between 2 records in 2 different tables? I know how to use the...
1
by: hartman | last post by:
I have seen things to link list boxes and/or combo boxes to forms such that when you select an item in the list (or combo) box the form moves to the matching record. One example (by Allen...
8
by: Galina | last post by:
Hello I have 6 dependent list boxes on my ASP page:  Faculty;  Lecturer;  Course;  Course occurrence;  Group;  Week commencing date. When faculty is selected, lists of lecturers and...
2
by: Dennis | last post by:
I hoping you might be able to help me with a small problem. I have made an application that links a VB.NET program to a database. After many failed attempts and reading I can add, delete, navigate...
1
by: Joel Barsotti | last post by:
Is there anything builtin to ASP.net that allows you to tie a text box to a button so when you press enter in the text box it emulates clicking a near by button. I've coded up some client side...
2
by: codeWarrior007 | last post by:
Hi, I created an access database with cascading combo boxes with the information for each combo box stored in separate tables. I wanted to put the database on SharePoint 2007 but when I put it up...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...

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.