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

comboboxes

Hi all
I'm new to vb but have a little experience in vba
im using vb.net
my question is with comboboxes
the fist combo box lists the manufactures when a selection is made the
second combox populates with the available products and when a selection is
made here then next combobox will be populated with model numbers and so on
can someone point me in the direction for this information and also does
information get stored in a data base or just within the code files
thanks Phil
Nov 21 '05 #1
5 1904
Phil,

Next time don't use a name like comboboxes, a lot of (most) users use
Outlook Express to see newsgroups. It will search to a subject like yours
and your message will be connected to an older one, therefore in your
subject "Needs help with 3 comboboxes for 3 tables" will set this appart.

Your question, Yes that is easy to do.

What you need is 3 dataviews.
With rowfilters wich you make the datasources of your comboboxes.

When combobox 1 changes, you use the indexchange event of that combobox,
toset the rowfilter of the dataview to the selectedtext (or value) and so on
to the next combobox.

http://msdn.microsoft.com/library/de...iltertopic.asp

It is as well possible with datareleations, however to get it fire you need
again the same procedure and therefore I see no benefit for that.

I hope this helps?

Cor
Nov 21 '05 #2
hi cor
my understanding of dataviewer is that it holds the data within the code
the solution I need will need a data base that is easy to up date like a
excel spreadsheet or something simular as the project information will be
undated every 6 months with numerous changes. Am I correct in my
understanding of dataview or have I totally confused myself
thanks Phil
"Cor Ligthert" <no************@planet.nl> wrote in message
news:uu*************@TK2MSFTNGP12.phx.gbl...
Phil,

Next time don't use a name like comboboxes, a lot of (most) users use
Outlook Express to see newsgroups. It will search to a subject like yours
and your message will be connected to an older one, therefore in your
subject "Needs help with 3 comboboxes for 3 tables" will set this appart.

Your question, Yes that is easy to do.

What you need is 3 dataviews.
With rowfilters wich you make the datasources of your comboboxes.

When combobox 1 changes, you use the indexchange event of that combobox,
toset the rowfilter of the dataview to the selectedtext (or value) and so on to the next combobox.

http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfsystemdatadataviewclassrowfiltertopic.asp
It is as well possible with datareleations, however to get it fire you need again the same procedure and therefore I see no benefit for that.

I hope this helps?

Cor

Nov 21 '05 #3
Phil,

A dataview is a kind of filter that can be used between Datatables and
Controls (datagrid combobox etc). One of the things it does not is holding
data.

Read this first and when you have questions, reply those than
http://msdn.microsoft.com/library/de...classtopic.asp

I hope this helps

Cor
"Phil" <phespe remove this bigpond.net.au>
my understanding of dataviewer is that it holds the data within the code
the solution I need will need a data base that is easy to up date like a
excel spreadsheet or something simular as the project information will be
undated every 6 months with numerous changes. Am I correct in my
understanding of dataview or have I totally confused myself
thanks Phil
"Cor Ligthert" <no************@planet.nl> wrote in message
news:uu*************@TK2MSFTNGP12.phx.gbl...
Phil,

Next time don't use a name like comboboxes, a lot of (most) users use
Outlook Express to see newsgroups. It will search to a subject like yours
and your message will be connected to an older one, therefore in your
subject "Needs help with 3 comboboxes for 3 tables" will set this appart.

Your question, Yes that is easy to do.

What you need is 3 dataviews.
With rowfilters wich you make the datasources of your comboboxes.

When combobox 1 changes, you use the indexchange event of that combobox,
toset the rowfilter of the dataview to the selectedtext (or value) and so

on
to the next combobox.

http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfsystemdatadataviewclassrowfiltertopic.asp

It is as well possible with datareleations, however to get it fire you

need
again the same procedure and therefore I see no benefit for that.

I hope this helps?

Cor


Nov 21 '05 #4
Hi cor
im starting to understand the concept but i'm confunsed on where to start
do i create a datatable through "add dataset" and which data set should i
use typed or untyped
and where do i add the contents to the tables
thanks phil

"Cor Ligthert" <no************@planet.nl> wrote in message
news:ea**************@TK2MSFTNGP15.phx.gbl...
Phil,

A dataview is a kind of filter that can be used between Datatables and
Controls (datagrid combobox etc). One of the things it does not is holding
data.

Read this first and when you have questions, reply those than
http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfsystemdatadataviewclasstopic.asp
I hope this helps

Cor
"Phil" <phespe remove this bigpond.net.au>
my understanding of dataviewer is that it holds the data within the code
the solution I need will need a data base that is easy to up date like a
excel spreadsheet or something simular as the project information will be undated every 6 months with numerous changes. Am I correct in my
understanding of dataview or have I totally confused myself
thanks Phil
"Cor Ligthert" <no************@planet.nl> wrote in message
news:uu*************@TK2MSFTNGP12.phx.gbl...
Phil,

Next time don't use a name like comboboxes, a lot of (most) users use
Outlook Express to see newsgroups. It will search to a subject like yours and your message will be connected to an older one, therefore in your
subject "Needs help with 3 comboboxes for 3 tables" will set this appart.
Your question, Yes that is easy to do.

What you need is 3 dataviews.
With rowfilters wich you make the datasources of your comboboxes.

When combobox 1 changes, you use the indexchange event of that combobox, toset the rowfilter of the dataview to the selectedtext (or value) and
so on
to the next combobox.

http://msdn.microsoft.com/library/de...us/cpref/html/ frlrfsystemdatadataviewclassrowfiltertopic.asp

It is as well possible with datareleations, however to get it fire you

need
again the same procedure and therefore I see no benefit for that.

I hope this helps?

Cor



Nov 21 '05 #5
Phil,

A typed dataset and a untyped dataset are both dataset. The last one is
inherited from a dataset as well.

To create a dataview it is the most simple done with
dim dv as new dataview(mydataset.tables("mytable"))
in the non typed version
dim dv as new dataview(mydataset.mytable)
in the typed version.

I would start for learning with the non typed version, because than you
better understand what happens.

I hope this helps?

Cor

"Phil" <phespe remove this bigpond.net.au> schreef in bericht
news:%2****************@tk2msftngp13.phx.gbl...
Hi cor
im starting to understand the concept but i'm confunsed on where to start
do i create a datatable through "add dataset" and which data set should i
use typed or untyped
and where do i add the contents to the tables
thanks phil

"Cor Ligthert" <no************@planet.nl> wrote in message
news:ea**************@TK2MSFTNGP15.phx.gbl...
Phil,

A dataview is a kind of filter that can be used between Datatables and
Controls (datagrid combobox etc). One of the things it does not is
holding
data.

Read this first and when you have questions, reply those than

http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfsystemdatadataviewclasstopic.asp

I hope this helps

Cor
>"Phil" <phespe remove this bigpond.net.au>
> my understanding of dataviewer is that it holds the data within the
> code
> the solution I need will need a data base that is easy to up date like
> a
> excel spreadsheet or something simular as the project information will be > undated every 6 months with numerous changes. Am I correct in my
> understanding of dataview or have I totally confused myself
> thanks Phil
> "Cor Ligthert" <no************@planet.nl> wrote in message
> news:uu*************@TK2MSFTNGP12.phx.gbl...
>> Phil,
>>
>> Next time don't use a name like comboboxes, a lot of (most) users use
>> Outlook Express to see newsgroups. It will search to a subject like yours >> and your message will be connected to an older one, therefore in your
>> subject "Needs help with 3 comboboxes for 3 tables" will set this appart. >>
>> Your question, Yes that is easy to do.
>>
>> What you need is 3 dataviews.
>> With rowfilters wich you make the datasources of your comboboxes.
>>
>> When combobox 1 changes, you use the indexchange event of that combobox, >> toset the rowfilter of the dataview to the selectedtext (or value) and so > on
>> to the next combobox.
>>
>>
> http://msdn.microsoft.com/library/de...us/cpref/html/ > frlrfsystemdatadataviewclassrowfiltertopic.asp
>>
>> It is as well possible with datareleations, however to get it fire you
> need
>> again the same procedure and therefore I see no benefit for that.
>>
>> I hope this helps?
>>
>> Cor
>>
>>
>
>



Nov 21 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Kathy | last post by:
In my custom menu one menu item opens a form to add new Makes to TblMakes and another menu item opens a form to add new Models to TblModels. I have a form that has a combobox for Makes and a...
0
by: johnson_cy | last post by:
I am using Access 2000. My main form has a record source of a table (employeeTbl with key of . It is filtering the record results. My subform and mainform have the link child/link master set...
1
by: Craig G | last post by:
for months we have been dabling round looking at various 3rd party comboboxes that allow the user to type text into the combobox as a search mechanism what we've found is that the likes of...
1
by: Marcin Podle¶ny | last post by:
Hi, I've a form with three comboboxes. Each of them contains the same data - all cities in my country. As you see it's a lot of data so it takes a lot of memory. I'd like to use the same...
6
by: Sam | last post by:
Hi, I have a datagrid which has (amongst other stuff) 2 comboboxes columns. So far so good. The trick is that when I select a value in my first column, it must updates the items of the combobox in...
2
by: ashishtarlekar | last post by:
Hi all, I have to add comboboxes in the first row of datagridview for mapping the database fields. For e.g. I have to show Id, FirstName, LastName in each comboboxes in the first row. if i select...
2
by: Matt | last post by:
Hi all, me again! :) I've now got an issue with combo boxes. Basically, I have a number of items that I want a user to pick from a single list. It's basically along the lines of: Fruit 1: ...
3
by: Randy | last post by:
I have a routine that creates a series of comboboxes, each of which is bound to a common dataview. Everything used to work fine, but now, when I change the value of any of the comboboxes, the...
5
by: Anthony Bollinger | last post by:
I have two tables in a master-detail relationship. When I make a selection in one combobox, how do I have it display the values from a second combobox? Each table has a key and a text value for...
2
by: Wingot | last post by:
Hey, I have a view to a database that I have created for Client Maintenance. It has a number of fields, but the important ones are Medical Condition, Bill To, and Country. I have a couple of...
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
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:
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
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,...
0
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...

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.