Results 1 to 3 of 3
  1. #1
    xxxjorgexx is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Sep 2013
    Posts
    2

    Update a query with a new table

    Hi,
    I am trying to create a database based on project data. I receive a new table each month containing updated project data. I would like to create a query containing some current project information from the current months table, and also containing some historical project information from 2 or more older monthly tables. Each table is structured the same way. Ultimately I'd like an output that contains one project number, and current project data, and historical project data, with space for me to put in notes or flags.

    When the new month comes around, and I get a new table, how do I quickly update an existing query to link to this new table without changing the 'Table' on each category/column one by one? Is there a function that will change the all the table links at once? Or do I have to do a macro? Or???

    Thanks.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,622
    Why aren't you importing the data to a single table? Monthly tables is not advisable, should be one table, otherwise have to do a UNION query to get the data into a single dataset structure so can query across all months. There is a limit of 50 lines in a UNION.

    Doing the design edits programmatically is much more complicated than properly designing database structure.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    xxxjorgexx is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Sep 2013
    Posts
    2
    Thanks, I did that, and played around with it for a while, and I think I'm now able to get my new query to pull the current and historical data on one record.

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

Similar Threads

  1. Replies: 1
    Last Post: 05-17-2013, 12:53 PM
  2. Update query won't update table
    By bonesie in forum Access
    Replies: 6
    Last Post: 01-15-2013, 05:22 PM
  3. Replies: 6
    Last Post: 05-10-2012, 08:20 PM
  4. Replies: 1
    Last Post: 02-08-2012, 04:50 PM
  5. Replies: 2
    Last Post: 12-20-2011, 07:33 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