Results 1 to 4 of 4
  1. #1
    gus1339 is offline Novice
    Windows XP Access 2003
    Join Date
    Apr 2011
    Posts
    2

    Linked tables need values that are NOT EQUAL

    I have two simple access databases with student names and ID numbers. One for Fall semester one for Spring. I want to link the tables and query a list of students who were here either FALL & SPRING, or just FALL or just SPRING?

    The join only gives me 3 options
    1. List all IDs that are equal
    2. List all IDS that are in FALL and only those IDS that are the same IDS from the SPRING table.


    3. List all IDS that are in SPRING nd only those IDS that are the same IDS from the FALL table.

    How do I get the list of students I need as explained above?

  2. #2
    kennejd is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    188
    It doesn't sound like your database(s) are designed very well. In this instance, you could use a union query. Another option would be to create your query the way you've been doing....but don't link the tables. Use the criteria entry boxes to enter the conditions.

  3. #3
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    Quote Originally Posted by gus1339 View Post
    How do I get the list of students I need as explained above?
    From two databases?? The first thing you should do, IMO, as import everything from one to the other so you only have to deal with one db. In a situation like this, there is no reason to be using two, unless of course management's directives are to the contrary.

    After that, a union is not even necessary, but Mr. Kennejd's words are still words to live by.

  4. #4
    gus1339 is offline Novice
    Windows XP Access 2003
    Join Date
    Apr 2011
    Posts
    2

    Thank You!

    I will try the Union Query. I agree it would all be easier in one database. That's the way I use to do it manually. This is our new online web database system and they have each semester separated. I am going to ask them if they can have a report built in that will combine semesters on the fly, so I don't have to export each semester and import as separate databases in Access.

    Thanks again!!

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

Similar Threads

  1. Replies: 8
    Last Post: 05-25-2010, 04:50 AM
  2. Help with Linked Tables
    By softspoken in forum Forms
    Replies: 22
    Last Post: 03-25-2010, 09:35 AM
  3. Replies: 2
    Last Post: 01-13-2010, 05:29 AM
  4. Linked tables and copy
    By TimG in forum Access
    Replies: 2
    Last Post: 10-08-2009, 07:54 AM
  5. help with linked tables
    By davidoakley in forum Access
    Replies: 9
    Last Post: 06-17-2009, 05:23 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