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

Question On Combo Box

1
Dear Sir,

I am using two combo box in a form where ,if in 1st combo i chose an item exp. 220 then it will display in 2nd combo like cp1,cp2,cp3 etc.


Regards,
MRSS
Sep 6 '07 #1
4 1192
hariharanmca
1,977 1GB
Dear Sir,

I am using two combo box in a form where ,if in 1st combo i chose an item exp. 220 then it will display in 2nd combo like cp1,cp2,cp3 etc.


Regards,
MRSS
Just post what you had tryed and mention your Front-end version.
Sep 6 '07 #2
syamas
10
Dear Sir,

I am using two combo box in a form where ,if in 1st combo i chose an item exp. 220 then it will display in 2nd combo like cp1,cp2,cp3 etc.


Regards,
MRSS
hello friend

let the combo boxes be cmb_box1 and cmb_box2
tables like tbl_country has field 'country' and tbl_state
has fields 'country' and 'state'

first loard countrires list on cmb_box1 as you know then
on_click() event of cmb_box1 write the code as follows
"select state from tbl_state where country = ' " & cmb_box2.text & " ' "
for loarding records as states to cmb_box2

plz do as the above theory

* link removed *

Sep 6 '07 #3
hariharanmca
1,977 1GB
hello friend

first loard countrires list on cmb_box1 as you know then
on_click() event of cmb_box1 write the code as follows
"select state from tbl_state where country = ' " & cmb_box2.text & " ' "
for loarding records as states to cmb_box2

plz do as the above theory

* Link removed *
Check your query that shound be cmb_box1.Text

"select state from tbl_state where country = ' " & cmb_box1.Text & " ' "for loarding records as states to cmb_box2
Sep 6 '07 #4
Killer42
8,435 Expert 8TB
I am using two combo box ...
Frankly, I'm amazed at the detailed responses you're getting, given that you haven't told us yet what the problem is.
Sep 6 '07 #5

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

Similar topics

2
by: Mason Wood | last post by:
I have another question for the community, and hopefully it's an easy one. It seems ridiculously simple, but I can't find anything on it. I have a combo box that is bound to a table. When a...
6
by: Megan | last post by:
I'm using an unbound combo box on a form as a record selector. I'm using the combo box to choose certain types of music, i.e. Alternative, Pop, Rock, etc…and then run a report based on the...
4
by: Phil | last post by:
As a new user, I was pleased I was able to build tables and connect them properly (I think), but am having one problem on forms. How does one go about creating a form, where on field on the form...
3
by: Marcus Canales | last post by:
Hello all, Here is my situation. I have a combo box on a form. The combo box is linked to a qry (qryCustomers) and the form is linked to tblOrders. The way I currently use the combo box is to...
1
by: Access User | last post by:
Here is my situation: I have two tables linked together in a many-to-many relation through an interum table. It looks like this... Title TitleTopic Topic...
4
by: Steve Chatham | last post by:
I have a page where I have some combo boxes on it. A click on each one spawns another box, and another until each area has been selected, or until they choose to pull all items into a datagrid...
2
by: Gerry | last post by:
I have a combo box and I can populate it with my class of dat (the class allows me to store each userid,username called - see code below I want the user to select the dropdown and see the...
6
by: Doug Bell | last post by:
Hi I have a datagrid with a combo box, I need to populate the combo with data dependant on the record value. eg for record 1, field Warehouse = 2R so combo would allow selection of locations...
2
by: 794613 | last post by:
Hello, thank you for reading this question, and possibly (hopefully) pointing me in the right direction. I've got a basic database that I've been working on, and adding items as I see necessary. The...
2
by: Lynx101 | last post by:
Hi, Is this a stupid question? Senario: Two tables linked together with an ID number. Question: When using a combo box, which refences another table by indexed autonumber, is there a way to...
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: 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
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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.