473,809 Members | 2,708 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Combo box updating depending on previous selection - like car insurance web sites?

4 New Member
Hi, im doing a college assignment using Access and i seem to have hit a hard rock thats getting in my way. I will explain my task solution in hope you may be able to explain the best way to do this:

A motorcycle workshop uses a paper based system to store their job records, each new customer has a job card, and returning customers have new job cards.

Some bikes come back with the same problem, but the sloution may have been forgoten, so i want a system that records each bikes problems and has notes on how it was repaired, this way, when a bike comes in with a common problem, a search can be made for same bikes with the same problem to cut back on time finding the problem.

Anyways, i hope this is making sense, so to enter the problem, i want a combo box that has options like: Mechanical, Electronic, Bodywork, Service, MOT. then once a field is selected the combo box below changes it values so if Mechanical was selected the next box would be: Engine, brakes, steering... etc.

If it was MOT, then the second would be: oil, plugs, full service, etc.

So basically like what insurance websites have when the car model combo box changes depending on the manufacturer.

If someone could explain how this is done i would be extremely grateful and i appologise if this is a repeat question (i have searched but i dont honestly know what im searching for), because im a mod on a sony psp forum and know how many n00b questions come up.

But as i said, any help would be awesome.



Kev
Nov 21 '07 #1
3 6247
missinglinq
3,532 Recognized Expert Specialist
Click here to learn more. The general concept is called Cascading Comboboxes.

Welcome to TheScripts!

Linq ;0)>
Nov 21 '07 #2
Kernel Kev
4 New Member
Dude, i cannot thank you enough, i thought i knew a fair amount about computers, i am a worthless nothing around you lol.

Cheers again.

*bookmarks page*
Nov 21 '07 #3
Kernel Kev
4 New Member
Umm, ok i have a problem now.

I have followed this tutorial as much as i could, but it dosent seem to be working.

Has anyone got a working version of this? If so could it be sent to me, or uploaded etc?

The first box is coming up with the company names i put in but the second is still showing all the employee names.

Thanks



Kev
Nov 23 '07 #4

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

Similar topics

4
2363
by: Dave | last post by:
I wasn't sure how to search for previous posts about this, it felt real specific. Ok so here's the database & problem: I have 4 combo boxes: cboServer, cboPolicy, cboDB, and cboApplication. The idea behind the database is for a user to search/ select desired information in any kind of combination between the 4 combo boxes. Then the user clicks a button (btnSearch) and subsequently a query ("Search Function") is run that shows all 4...
2
2617
by: accesslearner | last post by:
Hi! I' m learning access, and now I have a problem. I have a form with two combo boxes, so that one is related on another. I found cases and I know how to do this, but I didn't found the code how to relate the decision I make in combo boxes to the records in a form. I mean, that, when i choose a selection in the first combo box (Insurance) in the second combo box appears only those product who goes with that insurance and then when i make...
6
3686
by: Dave | last post by:
I want to put the information that the user selects in my combo boxes into a subform that lies on the same form as the combo boxes. Thanks for your help already, Dave
1
2911
by: Dave | last post by:
Hello all, First I'd like to apologize...This post was meant to be put in my previous post, but I tried many times without success to reply within my previous post. Now here goes... I have a main form (RD Form) with 4 combo boxes (i.e. cbo1, cbo2, etc) and a subdatasheet (the subform...let's call it subInfo) below the combo boxes on the RD Form. I hope this eliminates any confusion of the
9
5017
by: Marianne160 | last post by:
Hi, I know there are various answers to this problem available on the web but none of them seem to work for me. I am using Access 2003 to make a form to look up data from a table. I have so far created three combo boxes that cascade down from Name to Project to Date and when this has been chosen I have four textbox fields I want to display based on this selection. I tried linking the last combo box comboDate to update these fields after...
1
2007
by: andi111 | last post by:
Good Morning All, I am having problems turning my Matter_Creation_Form.DOC into a Matter_Creation_Form.DOT. Now, Within Word, I have created a document that contains 2 Combo Boxes which, when a .DOC file, the contents of them appears fine. I then resave the file as a template (with the extension .DOT to change it into a template) and the contents of the Combo Boxes does not appear.
2
6529
kmartinenko
by: kmartinenko | last post by:
Hi everyone, I have several combo boxes on my form, and while I have designated a column head, I cannot figure out how to default to the column head value. What I really want is for all of my combo boxes to default to a selection that is either blank or the column head, so that my users don't see their previous selection when they go and select a value from the drop down list. Also, what would be the best way to enable a user to clear out...
0
925
by: dudeja.rajat | last post by:
HI, I'm using a Tix combo box (I call it combo2), the contents of which are loaded depeding on the selection in another Tix combo box(I call it combo1) I have used the commands: self.cbAnalysisLibVersion.insert(END, results) to insert elements to the combo box.
0
1619
by: dudeja.rajat | last post by:
On Sat, Aug 30, 2008 at 2:32 PM, Fredrik Lundh <fredrik@pythonware.comwrote: Fredrik, Thanks so much. That worked. Following this, I can now see that my combo2 has no previous elements and contains only the elements relevant to selection in combo1. Now, as soon as I select something in combo 2 and go back to change selection in combo1 the combo2 must get its history cleared up (i.e the previous selection in combo2's entry subwidget)
0
10637
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10379
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10115
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9199
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6881
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5550
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5687
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3861
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3014
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.