Results 1 to 2 of 2
  1. #1
    andrewmo is offline Novice
    Windows XP Access 2007
    Join Date
    Nov 2011
    Posts
    4

    Creating a query using mutliple tables

    Hello

    I am trying to find a count of all emergency room patients that meet the following criteria using query design

    Acuity 1
    Arrival between 12:00:00 AM and 12:59:59 AM
    Show medical record number



    I have 9 tables each table represents each month and each table has the exact same fields/headers, but for some reason access doesn't recognize the relationship.

    Is there a way to pull a total count of patients that meet that criteria from the 9 tables without having to do each table(month) individually?

    Thank you

  2. #2
    alansidman's Avatar
    alansidman is offline VIP
    Windows 7 32bit Access 2007
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,529
    Before a solution to your query is even discussed, it appears that you have a normalization issue. You should not have a separate table for each month. Read this discussion on database design. I think that your first priority should be to normalize your data. Once that is complete your query issues will be diminimus.

    http://www.deeptraining.com/litwin/d...aseDesign.aspx

    Alan

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

Similar Threads

  1. creating forms using multiple tables
    By mfoster3 in forum Access
    Replies: 0
    Last Post: 03-09-2011, 06:57 AM
  2. Creating an expression with two tables
    By dssrun in forum Queries
    Replies: 3
    Last Post: 12-21-2010, 07:56 AM
  3. Creating the correct tables
    By Dewey1128 in forum Access
    Replies: 1
    Last Post: 12-21-2010, 05:56 AM
  4. Creating tables from scripts
    By accesscoder in forum Import/Export Data
    Replies: 6
    Last Post: 10-18-2010, 04:42 PM
  5. Creating Form from Normalized Tables
    By heathers in forum Forms
    Replies: 2
    Last Post: 09-10-2009, 03:43 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