473,399 Members | 3,888 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,399 software developers and data experts.

Dataviews and joining to tables

I have a strange problem...

I have a junction table that i need to filter based on a id, then take the
filtered data and join it to a description table then show the data that was
filtered in a listbox with the description instead of the id... here's an
example
Junction table
============
EntryID int
ItemID int
DescriptionTable
=============
ItemID int
Name varchar(100)
now a person has an entry which has many items in the junciton... i need to
filter the junction table based on the entryID so i have a list of all the
items a person has, then show that in a list box... but instead of showing
the ItemID... I need to show the name of the item from the description
table... how would I do that? Dataviews seem to work just for filtering the
junction table and returning the ItemID only but i really need that
description, its a lot more descriptive then some arbitrary ID number on the
screen
Nov 20 '05 #1
1 1262
Brian,
There is a JoinView sample custom DaveView class for VB.NET that may do what
you want.

See:
http://support.microsoft.com/default...en-us%3B325682

Hope this helps
Jay
"Brian Henry" <brianiup[nospam]@adelphia.net> wrote in message
news:Op**************@TK2MSFTNGP09.phx.gbl...
I have a strange problem...

I have a junction table that i need to filter based on a id, then take the
filtered data and join it to a description table then show the data that was filtered in a listbox with the description instead of the id... here's an
example
Junction table
============
EntryID int
ItemID int
DescriptionTable
=============
ItemID int
Name varchar(100)
now a person has an entry which has many items in the junciton... i need to filter the junction table based on the entryID so i have a list of all the
items a person has, then show that in a list box... but instead of showing
the ItemID... I need to show the name of the item from the description
table... how would I do that? Dataviews seem to work just for filtering the junction table and returning the ItemID only but i really need that
description, its a lot more descriptive then some arbitrary ID number on the screen

Nov 20 '05 #2

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

Similar topics

3
by: softengine | last post by:
Can and how do you alter a data view to include a look up field from another data table? The data table of the dataview only has the key, the value I need is in another data table. Can and how...
2
by: Pablo | last post by:
Hi people, Necesito crear n dataviews en tiempo de ejecucion. I need to create "n" DataViews in runtime. I tried creating an array this way: Dim LDView As Array =...
2
by: James | last post by:
Can anyone please shed some light on the following... I have a framework that uses dynamically created tables, named using an incremental "attribute set ID", as follows: attrdata_1 attrdata_2...
1
by: Vee Kay | last post by:
hi, this is my first post here. i'm in desparate need of resources for VC++.NET; the code in MSDN is only directed for VB/C#.. for C++ its very few and faar in between!! the web is no good...
3
by: Jerry | last post by:
Hi, I have a couple of datagrids that are based on dataviews. If I filter dataview1 I would like to automatically filter dataview2. I posted something about this before but I think I didn't...
5
by: Ron L | last post by:
I have a DataTable that is being maintained in a Model class. I also have a View class which creates a DataView from the DataTable that the Model passes it. The view class then has methods to...
3
by: Reader | last post by:
Hello all, I am joining two tables in a query and the output should be all those records where two fields in table1 match two corresponding fields in table2. I joined the tables using both...
4
by: Bernie Hunt | last post by:
I currently have a datagrid that I'm feeding with a DataSet, which contains three tables. I would like to use a DataView to format the DataTables but I'm not sure how to go about this. Currently...
2
by: Supermansteel | last post by:
I am joining these 2 tables together in Access 2003 and can't figure out the exact way of writing this script......Can anyone help? I have the following SQL: SELECT...
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
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
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.