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

Home Posts Topics Members FAQ

Queries Linking

38 New Member
Hello everyone, I have a Manager's database that tracks vacations. I have a 4 tables, one with the manager's information, one with Sick Days one with Full Week Vacations and one with Single Vacation Days. What I need is a report that has all those tables linked through each manager. The problem I am having is that I have it linked, but when a manager has a sick day, but no single day vacation, the manager wont show up. My question is how do I get this information to show up if they don't have any info on one of the tables???

Thank you
Dec 5 '08 #1
1 1123
Stewart Ross
2,545 Recognized Expert Moderator Specialist
Hi. Use an outer join (a left join in Access terms) from your Manager table to each of the other tables in your query to see all manager details. If there are no illnesses etc to show for a manager the outer-joined fields from the illness and vacation tables will be listed as nulls (i.e. value not present).

To change a relationship from an equijoin to an outer join in the Access query editor right-click on the relationship line and select Join Properties. There are three properties listed - the first is the normal equi join, and the other two are left and right joins, direction dependent on the relative position of the tables within the join. Select the one which lets you show all rows from your manager table, and only rows in the other table where the joined fields are equal.

You need to change all relationship lines in your query - mixed equijoins and outer joins will generate an error message if you leave some of the relationships as they were.

-Stewart
Dec 6 '08 #2

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

Similar topics

1
by: Jon | last post by:
I wonder if anyone can help me with an answer for this, the question seems well covered in the achieves, but a lot of the answers disagree with each other and I couldn't find no real solution. I...
6
by: Brad | last post by:
I have an sql query that has specific criteria (like state='PA' or state = 'NJ'...) and would like to be able to have the user specify the criteria dynamically either through the web or from...
5
by: Ed MacAlmon | last post by:
I have created several individual queries to report #s of children in particular age ranges. How can I generate a report that shows the results of each query in the same report? TIA--Ed
1
by: ravi | last post by:
I have created the following interest to calculate the interest for the following currency pairs. I have tried to combine them in macros using conditions but the next query that is run in the macro...
5
by: Martin Lacoste | last post by:
There's likely not a simple answer for this, I know, but, I thought I'd try anyways... Background.. I've been racking my brain with some queries that I thought were straightforward, but have...
26
by: temp | last post by:
Hi, My boss is asking me to generate a column mapping report of all the queries. Basically, we get our data from ORACLE. There's a queary that create new table from ORACLE tables. Then, there...
14
by: google | last post by:
I am creating a new database for use within our company, that I'd like to make reasonably secure (short of a true server based solution). The back-end of a non-server based database seems to be...
2
by: zwasdl | last post by:
Some of my queries take 1 hour to run, can I run other queries in access while waiting on the first query? If so, how can I do it? Thanks a lot, Wei
5
by: EricS | last post by:
Hi, Was wondering if anyone can help. I have multiple queries in a database. The selection criteria for these queries is always a time period I want to do the analysis by. Rather than having to go...
1
by: showmegeek | last post by:
I have one main table and multiple queries that give back information from different distribution list, what I would like to do is create one report that is used genericly to give me the information...
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
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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,...
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: 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: 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 ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.