473,473 Members | 1,856 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

3 tables into one Queries?

I have 3 different tables that I want Queries to sum up, but I do not get
all the information into my Queriy-file.
The 1st table have 9 different products.
The 2nd table have 3 of those 9 products.
The 3rd table have 3 of those 9 products, one of those 3 products is similar
to one of those products in table 2.

My problem is that I do not get all the information into the Queries. I just
get 1 product, which is represented in all tables.

How do I get all information from those 3 tables into the one Queries??

-kenneth
Nov 12 '05 #1
3 1293
On Wed, 28 Apr 2004 15:40:58 +0200, "Kenneth" <sn*******@hotmail.com>
wrote:

Use outer joins rather than inner joins. Right-click the line between
the tables in the Query design grid, and select option 2 or 3.

-Tom.

I have 3 different tables that I want Queries to sum up, but I do not get
all the information into my Queriy-file.
The 1st table have 9 different products.
The 2nd table have 3 of those 9 products.
The 3rd table have 3 of those 9 products, one of those 3 products is similar
to one of those products in table 2.

My problem is that I do not get all the information into the Queries. I just
get 1 product, which is represented in all tables.

How do I get all information from those 3 tables into the one Queries??

-kenneth


Nov 12 '05 #2
Kenneth,

It's not clear what you have!

When you base a query on multiple tables, the tables have to be joined in the
query window. The query then only returns records where there is a value in the
joined fields in both tables. What you may be seeing is that values exist in the
join field of all the records in one table but in some of the records in the
other table, there are no values in the joined field. Consequently, the query
does not return all the records in the first table.

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com
www.pcdatasheet.com

"Kenneth" <sn*******@hotmail.com> wrote in message
news:c6**********@dolly.uninett.no...
I have 3 different tables that I want Queries to sum up, but I do not get
all the information into my Queriy-file.
The 1st table have 9 different products.
The 2nd table have 3 of those 9 products.
The 3rd table have 3 of those 9 products, one of those 3 products is similar
to one of those products in table 2.

My problem is that I do not get all the information into the Queries. I just
get 1 product, which is represented in all tables.

How do I get all information from those 3 tables into the one Queries??

-kenneth

Nov 12 '05 #3
Thank you so far, then next problem pops up.
"The query displays empty cells where there is no matching record from
another table", but I want to sum all values in a column in the Query, and
as long as there is no matching record, I can't sum. What can I do to solve
that?

-kenneth
"Tom van Stiphout" <to*****@no.spam.cox.net> wrote in message
news:sl********************************@4ax.com...
On Wed, 28 Apr 2004 15:40:58 +0200, "Kenneth" <sn*******@hotmail.com>
wrote:

Use outer joins rather than inner joins. Right-click the line between
the tables in the Query design grid, and select option 2 or 3.

-Tom.

I have 3 different tables that I want Queries to sum up, but I do not get
all the information into my Queriy-file.
The 1st table have 9 different products.
The 2nd table have 3 of those 9 products.
The 3rd table have 3 of those 9 products, one of those 3 products is similarto one of those products in table 2.

My problem is that I do not get all the information into the Queries. I justget 1 product, which is represented in all tables.

How do I get all information from those 3 tables into the one Queries??

-kenneth

Nov 12 '05 #4

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

Similar topics

6
by: Andreas Lauffer | last post by:
I changed from Access97 to AccessXP and I have immense performance problems. Details: - Access XP MDB with Jet 4.0 ( no ADP-Project ) - Linked Tables to SQL-Server 2000 over ODBC I used...
3
by: Stephen | last post by:
It is possible to relate queries to tables, right? It seems logical but when I try to match my queries to any of the tables or even to each other it gives me a blank relationship. What could I...
7
by: Joe | last post by:
I am using Access 2003 and are linking to an Oracle 9i ODBC datasource (using Oracle ODBC drivers). After linking the tables in Access, I inspect the data contained in the linked tables. For...
15
by: brettclare | last post by:
I have linked a large SQL Server table to Access, however 'only' 2,195,439 records are shown and are available to query. Can I increase the size (cache??)/number of records showing in Access? ...
11
by: dskillingstad | last post by:
I've been struggling with this problem for some time and have tried multiple solutions with no luck. Let me start with, I'm a novice at Access and I'm not looking for someones help to design my...
10
by: Robert | last post by:
How do you get an accurate count of the number of records returned from a query when using linked tables. I have an access 2003 database as a front end to another access 2003 database that...
5
by: rdemyan via AccessMonster.com | last post by:
I have a need to add another field to all of my tables (over 150). Not data, but an actual field. Can I code this somehow. So the code presumabley would loop through all the tables, open each...
11
by: shriil | last post by:
Hi I have this database that calculates and stores the incentive amount earned by employees of a particular department. Each record is entered by entering the Date, Shift (morn, eve, or night)...
3
by: KNN | last post by:
Hi I have some tables with hidden attribute set to 1. In the query desgn view , I do not see these tables as expected. But, If I choose the query wizard to create a new query, then i do see...
3
by: Bret Kuhns | last post by:
I recently started a co-op/internship at a company and they are looking to migrate a large legacy supported application from OLEDB to SQL Server. I'm doing prelim work in experimenting with the...
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
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,...
1
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...
0
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
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...

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.