Results 1 to 2 of 2
  1. #1
    khenry is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Feb 2011
    Posts
    1

    Qry using date criteria, member count and null fields

    I have a database with multiple tables. I need to write a query with the following table/fields...

    Household Table
    HH# (random household ID #)
    FirstName
    LastName
    HHSize (this is a household size)

    ProgramActivity Table
    Date


    ProgramActivity

    Based on the above tables and fields, I need to determine what households have a program activity dated between 10/1/08 - 9/30/09 that were not served with program activity dated between 10/1/06 - 9/30/08 AND receive an unduplicated member count.

    Many households may have multiple program activities listed in the time period. All I need is one program activity between 10/1/08 - 9/30/09 to compare whether or not they were seen between 10/1/06 - 9/30/08 and count how many people were in the house at that time. The outcome would be, for example, 4,268 unduplicated members were seen between 10/1/08 - 9/30/09 that were not seen in 10/1/06 - 9/30/08.

    Is this query possible? Any help given would be greatly appreciated.

    Thanks

    Karen

  2. #2
    SteveF is offline Generally AccessAble
    Windows XP Access 2010 32bit
    Join Date
    Nov 2010
    Location
    Fourth Corner
    Posts
    123
    Quote Originally Posted by khenry View Post
    Household Table
    HH# (random household ID #)
    FirstName
    LastName
    HHSize (this is a household size)

    ProgramActivity Table
    Date
    ProgramActivity
    Are the table columns listed here the only ones in the table? Based on what you've supplied I can't see a way to identify which household(s) have benefited from program activities.

    If there are indeed more columns, please supply the complete list for each table.

    Steve

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 12
    Last Post: 12-11-2011, 05:04 PM
  2. use 0 for null value in count query
    By hyperionfall in forum Queries
    Replies: 1
    Last Post: 11-07-2010, 05:12 PM
  3. Combine two fields, Null fields involved
    By yes sir in forum Access
    Replies: 9
    Last Post: 10-03-2010, 09:20 AM
  4. Replies: 1
    Last Post: 03-29-2010, 10:23 AM
  5. Replies: 5
    Last Post: 03-20-2010, 08:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums