ki**************@gmail.com wrote:
Well, I bought a whole bunch of Access Database books and I couldn't
find the answer in any of them. I got what I needed to do, which is to
create a 1:M relationship with two tables, but I was hoping to use my
queries because the databases I wanted to use had some null values in
the fields I wanted to join on the many side and so I had ended up
filtering out the nulls and recreating tables. It was kind of a pain.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
If you just want to show all the rows in the ONE table try a LEFT JOIN
query. The the table w/ the ONE relationship on the LEFT side and the
many relationship on the right side. E.g.:
SELECT one_table.column, <column list>
FROM one_table LEFT JOIN many_table
ON one_table.join_column = many_table.join_column
WHERE < criteria>
This should return all rows in the left table and all rows in the right
table. Those rows in the right table that don't have a value in the
join_column will not have anything (NULL).
Perhaps if you stated your goal we could help you better.
Also, a good read of a decent database design book would be in order. I
usually recommend _Database Design for Mere Mortals_ by Hernandez.
--
MGFoster:::mgf00 <at> earthlink <decimal-point> net
Oakland, CA (USA)
-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv
iQA/AwUBQls42oechKqOuFEgEQIx8ACfUkB2Cbuev65gggrYZ/5uBa9dHD8An2gP
UUdrwT1ZS5nsZyRDHIFtVcZ0
=i7Fq
-----END PGP SIGNATURE-----