View Single Post
  #4  
Old April 15th, 2010, 04:19 AM posted to microsoft.public.access.gettingstarted
PieterLinden via AccessMonster.com
external usenet poster
 
Posts: 307
Default PLS HELP~! Simple Question: Master & Child Link without subfor

Kaoli wrote:
May I know what you mean left join Master to Child in the query?

If I understand what you want I think if you Left Join Master to Child in the
query it will function like you want.

[quoted text clipped - 27 lines]
I tried to solve and search solution in internet about 2 months, I really
hope anyone can help me this new user to solve this simple problem.



LEFT join means
"include ALL records in the "Left side" table, and only matching records in
the right side. So say you have the standard Customers and Invoices tables
joined on CustomerID...

SELECT Customer.CustName, Invoice.InvoiceNo
FROM Customer LEFT JOIN Invoice ON Customer.CustomerID = Invoice.CustID

will display ALL Customers regardless of whether they have any invoices, and
any invoices they may have. An INNER join will eliminate all customers from
the result set that have no Invoices.

--
Message posted via http://www.accessmonster.com