Results 1 to 4 of 4
  1. #1
    PurpleGod is offline Novice
    Windows 8 Access 2010 64bit
    Join Date
    Jul 2015
    Posts
    6

    Show Identical Information from multiple tables and create more identical tables

    Hey I was wondering if you have any suggestions. I'v been stuck on this for a while.

    Here's what I have so far:

    5 tables: Each table has 10 feilds, Name, money, date1, pay1, date2, pay2 Ect

    *The same person can come up in multiple tables*

    Example:

    Table 1 could have 3 people each with their own Name, Money, date1, pay1 ect
    Table 2 could have the same 3 people, but with different Money, date1, pay1 ect

    My question is, how do I create a form, in which I am able to search for a name, and It shows me the information about that person from both tables.
    So I should have:

    Person1 - Money, date1, Pay1 (From table 1)


    - Money, date1, Pay1 (From table 2)
    - Money, date1, Pay1 (From table 3)

    The tricky part is, I need to make more tables with Money, date1, Pay1, In the future so I need to be able to add a new table, with the same fields as the other ones, and have to show when I search for that persons name.

  2. #2
    Perceptus's Avatar
    Perceptus is offline Expert
    Windows 7 64bit Access 2007
    Join Date
    Nov 2012
    Location
    Knoxville, Tennessee
    Posts
    659
    You could create a Union Query of the 2 tables. And then use that query as the datasource.

  3. #3
    CJ_London is offline VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,446
    Sounds like your data is not normalised. You have only provided a brief description and from that it would be expected that you would have one table with an additional column which is the equivalent of the table name. You will often find those new to Access will use one table for each year for example - a kind of excel way of doing it - when in fact you can simply determine the year from the paydate

  4. #4
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    As Ajax suggested, having five Tables with identical Fields undoubtedly means that your data is not normalized! As he said, you simply need an additional Field to differentiate between the Records.

    Linq ;0)>
    The problem with making anything foolproof...is that fools are so darn ingenious!

    All posts/responses based on Access 2003/2007

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

Similar Threads

  1. Replies: 5
    Last Post: 08-22-2014, 05:01 AM
  2. Search Multiple Tables (Identical Fields)
    By tristangemus in forum Queries
    Replies: 1
    Last Post: 06-21-2013, 10:32 AM
  3. Replies: 1
    Last Post: 05-23-2013, 11:20 AM
  4. Active & Archive Tables Identical but Different?
    By Instructor Support in forum Database Design
    Replies: 1
    Last Post: 08-17-2012, 12:27 AM
  5. Difference between 2 identical tables.
    By leepan2008 in forum Access
    Replies: 1
    Last Post: 09-28-2009, 07:36 PM

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