Reports to include names with no contact

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rcollins
    New Member
    • Aug 2006
    • 234

    Reports to include names with no contact

    I have a report that gives me contact info for each client. We run these reports every month, ie, 4/1/2008-4/30/2008. As it is now we get the lients who have had contact for the month. What I would like to do is to have the clients with no contact listed too, or to have a list on the side who have no contact. I have made an find unmatched query, and do get the people who have never had a contact, but I am not sure how to incorporate this to use the start and end dates from another table. Here are the feilds I will be using from both tables:
    Code:
    Table Name=[[U]tblClient[/U]]
    [I]Field;     Type;       IndexInfo[/I]
    ID;        AutoNumber; PK
    LastName;  String
    FirstName; String
    Active;    Boolean
    Code:
    Table Name=[[U]tblClientContact[/U]]
    [I]Field;     Type;       IndexInfo[/I]
    ID;        AutoNumber; PK
    ClientID;  Numeric;    FK
    Date;      Date/Time
    Please help to point me in the right direction. Thanks
  • NeoPa
    Recognized Expert Moderator MVP
    • Oct 2006
    • 32656

    #2
    Please post in the two sets of SQL. First the one that has the selection by month, and then the unmatched query.

    I'll then have what I need to incorporate both items into the one SQL query.

    PS. I'll also have a better approximation of what you do & don't understand ;)

    Comment

    • nico5038
      Recognized Expert Specialist
      • Nov 2006
      • 3080

      #3
      Using the graphical query editor will make this easy.
      Just pace both tables and drag and drop the ID field. (By default Access will already draw the line :-)
      Now double click this line and chose option 2 (or 3) to make the clients table "
      "leading".

      That's all. You'll notice that the unmatched query does the same, but adds a Not Is Null criteria to "suppress" the ones that do have a value...

      Nic;o)

      Comment

      Working...