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

beginning query question

Just started teaching myself Access and I've got a newbie question...

I have two tables tblPpl and tblOrgs linked by a many-to-one
relationship. I'm trying to produce a report that will show a list of
people's names and their organizations. I've built a query to base
the report on with three columns, LastName from tblPpl, FirstName from
tblPpl and OrgName from tblOrgs.

The problem I'm having is the query does not 'find' people who are not
associated with an Org. This seems to be because the tbOrg is on the
query. If I delete the table from the query, all Ppl show up, but
then I can't use OrgName on the report.

What am I doing wrong?

I'm using Access 2002 on WIndows XP.

Thanks,
G
Jun 27 '08 #1
2 1198
On Sat, 21 Jun 2008 15:09:57 -0700 (PDT), Grip <gr**@cybermesa.com>
wrote:

Open the query in design view. Right-click the line between the two
tables. Choose "select all from tblPpl...".
It's called an "outer join" query.
-Tom.

>Just started teaching myself Access and I've got a newbie question...

I have two tables tblPpl and tblOrgs linked by a many-to-one
relationship. I'm trying to produce a report that will show a list of
people's names and their organizations. I've built a query to base
the report on with three columns, LastName from tblPpl, FirstName from
tblPpl and OrgName from tblOrgs.

The problem I'm having is the query does not 'find' people who are not
associated with an Org. This seems to be because the tbOrg is on the
query. If I delete the table from the query, all Ppl show up, but
then I can't use OrgName on the report.

What am I doing wrong?

I'm using Access 2002 on WIndows XP.

Thanks,
G
Jun 27 '08 #2
On Jun 21, 8:02 pm, Tom van Stiphout <no.spam.tom7...@cox.netwrote:
On Sat, 21 Jun 2008 15:09:57 -0700 (PDT), Grip <g...@cybermesa.com>
wrote:

Open the query in design view. Right-click the line between the two
tables. Choose "select all from tblPpl...".
It's called an "outer join" query.

-Tom.

Thanks, that was easy enough.
G
Jun 27 '08 #3

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

Similar topics

11
by: Matt | last post by:
My ASP page allows the user select the date, and it will display the report during that week of that date. My question is when the program query database, I need to know the beginning date and...
3
by: Matt | last post by:
Hello, I have a query that I would like to schedule in DTS. The criteria of this query checks for records in the table that are within the current quarter. Here is what I have. WHERE...
8
by: Vittorio | last post by:
I am reading "Beginning Python from Novice to Professional" and the book is really awesome. Nonetheless on ch 13 "Database Support" I found this code to import data (in a txt file) into a SQLite...
4
by: John Baker | last post by:
Hi: I have a query which supports a form. Te form is used to edit, update and change records in the table the query is based on. It all works fine EXCEPT that the "New" record (blank updatable...
6
by: jjturon | last post by:
Can anyone help me?? I am trying to pass a Select Query variable to a table using Dlookup and return the value to same select query but to another field. Ex. SalesManID ...
3
by: Rajorshi Biswas | last post by:
Hi all, I'm aware that this might not be a "C-specific" question, if so, please let me know which group is the most appropriate for this kind of question. This is a question on unix...
2
by: Mr. Ed | last post by:
I have been asked to give a report detailing how many names begin with each letter. In other words the report should say the following: Names beginning with: A: 22 B: 33 C: 42 ..... Z: 1
1
by: breckj | last post by:
Beginning question about selecting software to set up my work environment. I have undertaken a website revision project after not programming for about 6 years. I am beginning to set up a work...
4
by: maria | last post by:
I only use C++ with Visual Studio 6.0 for string manipulations in thousands of HTML pages on my website. Many times, the output files of many of my C++ programs contain a spanish question mark (¿)...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: 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
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,...

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.