Re: Query not displaying all requested records

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



This is expected behavior. Did you try other joins? Double-click the join
line to change the property to select all the records from Table A.

--
Duane Hookom
MS Access MVP

"Richard" <Richard@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:EDC72057-1328-45E1-94C8-EE42B451669C@xxxxxxxxxxxxxxxx
Hello everyone,

I am creating a query which is a combination of two tables (contains
fields
from both Table A and Table B). Though I now don't specify any criteria
in
the query design view, the query will display form me only the records
where
there is an entry in any one of the fields in Table B. So if a particular
record doesn't have any entries in any of the fields from Table B, that
record won't show in my query... one can only assume that if I likewise
had a
record with no entries in any of the fields in Table A, but had entries in
Table B, I would as well not see that record come up in my query.

Why?

If I look at the SQL for the query, the query is joining the tables via a
Union Join. Perhaps a different join for Table A and Table B would
resolve
this problem?

Any ideas?

Thanks, Richard.


.



Relevant Pages

  • Re: general question about how best to cache expensive query results
    ... feeds and sometimes don't include the field ... That was my first attempt to limit the entries ... would be the result of that original query. ... presenting the underlying problem and the business requirements. ...
    (comp.databases)
  • Re: Today and Yesterday
    ... I use this query to show me how many entries are in table Information_coll ... > RogueIT, ... > Steve Schapel, Microsoft Access MVP ...
    (microsoft.public.access.queries)
  • general question about how best to cache expensive query results
    ... The question is that when I have a query like: ... entries to those that are newer than a certain date, ... ascending order in order of creation and find the highest id that's at ... as well as dealing with values having different types. ...
    (comp.databases)
  • Re: Access Table Sorting/Query Last Function
    ... I've put in a number of test entries to ensure it works, ... of the Lastin your totals query. ... I've been designing a database that basically works off two tables. ... I've done this so that I can pull the last entered ...
    (microsoft.public.access.tablesdbdesign)
  • Re: SQL Server - Very long query time with OpenJPA and Hibernate
    ... I have a table with close to a million entries. ... Query Analyzer to obtain results within say 3 seconds. ... That's on a production server, ... that the program is the only thing accessing the database server. ...
    (comp.lang.java.databases)