473,386 Members | 1,886 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,386 software developers and data experts.

Basing one combo box on another

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 the second decision I want that to be related in my form.

I need a VBA code I think.

Can anybody help me?
Jul 10 '07 #1
2 2594
hyperpau
184 Expert 100+
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 the second decision I want that to be related in my form.

I need a VBA code I think.

Can anybody help me?
Search this forum for keyword "Cascading Comboboxes"
Jul 12 '07 #2
JKing
1,206 Expert 1GB
Here's a direct link.

Cascading Combo Boxes/ List Boxes
Jul 12 '07 #3

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

Similar topics

2
by: Jeff Barry | last post by:
Hi, I wonder if any one can help, I'm pretty new to Access and I can't figure out how to change the contents of a combo box based on a selection I make in another. Let me explain I have a...
1
by: meganrobertson22 | last post by:
Hi Everyone- I am trying to use a simple macro to set the value of a combo box on a form, and I can't get it to work. I have a macro with 2 actions: OpenForm and SetValue. I can open my form,...
0
by: PiotrKolodziej | last post by:
Hi I would like to ask a question. I have a method that adds nodes basing on ArrayList ( contains path to file ) as follows. DIR1 subDIR1 subDIR2 .. .. FILE
1
by: Louly | last post by:
Hi everybody, In a form I have 2 combo boxes, X's Row Source Type is a "Filed list" and Y is based on a "Query". I wan to base X's drop down list on what's selected from Y's list. Can anyone...
0
by: CalMyPal | last post by:
Basing one combo box on another January 31, 2005 By Sal Ricciardi Making choices is what a combo box is for, but sometimes one choice depends on another. In this installment, you'll learn how to...
8
by: AA Arens | last post by:
Hi I do have a products table and products-parts table in my Access 2003 database and log all services into a form. I do have at least the following two combo boxes on my form: - Choose...
2
by: docsix | last post by:
I am having trouble basing a combo box in a subform that gives selected data from the mainform combo box. Basically combo box1 gives a restricted data set to combo box2. Here is an small sample of...
3
by: Torilyn73 | last post by:
I posted this earlier... or thought I did... anyway.. it's doesn't appear in the list so I'm reposting it. Can someone please explain to me how to set up the lostfocus event for a combo box. I...
2
by: computerider | last post by:
I have used the example posted here from the Microsoft website: (http://office.microsoft.com/en-us/access/HA011730581033.aspx) but my question is if need to use this logic to drill down to a...
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: 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
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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...

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.