Results 1 to 3 of 3
  1. #1
    Shaba is offline Novice
    Windows XP Access 2003
    Join Date
    Oct 2011
    Location
    Romania, Bucharest
    Posts
    11

    Multiple table query

    Hello,



    I'm having some troble with a query that i am trying to create. let's say i have 30 tables that contain IBAN codes and the available balance of those accounts per day. the problem is that each day (table) has a different number of IBAN codes and if I only use relationships, the query will show me only the IBAN codes that are in the table 1 (day 1 of the month), all accounts added after day 1 being left out.
    one of the solutions would be to use DLookUp but that would mean a very very long time to calculate the query.
    Baisicly i'm trying to make a reunion of tables rather than a intersection.

    Is there any other way to solve this issue?

    Thanks
    Last edited by Shaba; 10-17-2011 at 06:21 AM.

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,847
    What is the actual issue?
    Why is there a separate table for each day? I can see how each day's transactions could be in a table, but I would try something like,
    a) union the various day transactions, or
    b) create a table and append each day's transactions to that table.

    Here's a link to union query info.
    http://www.techonthenet.com/sql/union.php

  3. #3
    Shaba is offline Novice
    Windows XP Access 2003
    Join Date
    Oct 2011
    Location
    Romania, Bucharest
    Posts
    11
    There's a separate table for each day because each day a new report is generated automaticly, and the balances can differ from day to day.
    The examples you gave me work just fine just that i didn't know how to do it.

    Thanks!

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

Similar Threads

  1. Access multiple table query
    By columbo1977 in forum Queries
    Replies: 3
    Last Post: 09-08-2011, 06:40 AM
  2. Replies: 1
    Last Post: 08-30-2011, 07:35 AM
  3. Replies: 3
    Last Post: 08-16-2011, 02:20 PM
  4. Replies: 1
    Last Post: 08-14-2011, 11:31 PM
  5. Multiple Table query
    By bibbyd01 in forum Queries
    Replies: 1
    Last Post: 10-06-2009, 09:12 AM

Tags for this Thread

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