Query Problem

D

Dave370

Hi,
I have 2 tables, Invoices and Payments. Both have Primary Keys which are
Auto numbers. The Payments Table has a Field in which you can select the
Primary Key of the Invoice Table and another field for the payment amount.

If I create a query to display the Invoice ID (Primary Key of Invoice Table)
and the sum of Payments for the Invoice, Invoices with no payments will not
be displayed. How can I create a query that displays the Invoice Number even
when there are no payments for that Invoice?
 
R

Rick Brandt

Dave370 said:
Hi,
I have 2 tables, Invoices and Payments. Both have Primary Keys which are
Auto numbers. The Payments Table has a Field in which you can select the
Primary Key of the Invoice Table and another field for the payment amount.

If I create a query to display the Invoice ID (Primary Key of Invoice Table)
and the sum of Payments for the Invoice, Invoices with no payments will not
be displayed. How can I create a query that displays the Invoice Number even
when there are no payments for that Invoice?

Double click the join line in your current query and read the descriptions of
the three choices that come up.
 
D

Dave370

This worked, thanks
--
Dave


Rick Brandt said:
Double click the join line in your current query and read the descriptions of
the three choices that come up.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top