Results 1 to 2 of 2
  1. #1
    gm_lowery is offline Novice
    Windows XP Access 2007
    Join Date
    Apr 2012
    Posts
    13

    Assistance designing an archiving query

    Hello Everyone,



    So I have been tasked with creating an archiving query for a custom designed Database that we use at work. This is something that I am relatively new at and thus it is causing me some problems. Basically the program is a scheduling system that tracks series of programs, individual sessions with in those series of programs, and finally participants within those sessions. I basically need to design a query or set of queries queries, that can archive the series and all the session and participant data associated with those series.

    Basically I want it to read SeriesID then list the subsequent series info, then SessionID and then list the subsequent session info, and then Participant ID and then the subsequent participant info.

    I have been getting ambiguous outer join errors when trying to do this so I would appreciate the help.

    Attached is a query screenshot.
    Click image for larger version. 

Name:	archive query update.JPG 
Views:	11 
Size:	95.0 KB 
ID:	8094
    Attached Thumbnails Attached Thumbnails archive query.JPG  

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,926
    Why would you want to do something so complicated when you already have a status field (SeriesActive) in Series table? Use that criteria to exclude those records and related info from queries.

    I expect all the joins are INNER and this could be partly why the query doesn't work. Also possible that can't be done with a single query.

    The second query definitely won't work.

    Not really understanding your data structure. It looks like a Session can have multiple Series. So registrants go to all series for a session?

    Why archive participants? Can't the same participant participate in more than one Session?
    Last edited by June7; 06-14-2012 at 08:07 PM.
    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.

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

Similar Threads

  1. Query and report assistance
    By POS120 in forum Queries
    Replies: 1
    Last Post: 03-18-2012, 04:48 PM
  2. Assistance in form/query
    By abodi in forum Forms
    Replies: 1
    Last Post: 09-19-2011, 03:30 AM
  3. Archiving Records
    By robsworld78 in forum Forms
    Replies: 5
    Last Post: 06-03-2011, 05:00 AM
  4. Archiving records
    By NOTLguy in forum Access
    Replies: 3
    Last Post: 11-21-2010, 03:15 PM
  5. Query Assistance Needed
    By elotromanuel in forum Queries
    Replies: 1
    Last Post: 03-17-2009, 09:31 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