Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
  1. #16
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694

    Quote Originally Posted by annemrosenberg View Post
    Yes! I would love to have your email so i can send the file...
    sent to you via a private message here

  2. #17
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    the subquery I told you to write takes too long. I waited a minute for the thing to run on my laptop and stopped it because I got sick of waiting. For ''IN'' subqueries, you have to wait for the engine to perform <tableCount1> * <tableCount2> tasks before you get the result. So you would be asking for 68934 * 115641 = 7971596694 tasks to complete. Yeah, that's too long.

    So the alternative, which is always better than a subquery anyway, is to write an unequal Join. In your case, this will be fine:

    Code:
    SELECT DISTINCT [Inhouse Imagery].Pathrow
    FROM [Inhouse Imagery] LEFT JOIN 
    [EDC Archive] ON [EDC Archive].Pathrow = [Inhouse Imagery].Pathrow
    As a last note, use the compact and repair feature in Access. It's not practical to send someone a 500MB file when it's real size is only 10% of that. Gmail's servers probably weren't too happy with you either.

    That should be enough for you to mark this thread as solved, my dear.

  3. #18
    annemrosenberg is offline Expert in Training
    Windows 7 64bit Access 2007
    Join Date
    Jul 2011
    Posts
    39
    Hi Adam,
    Sorry for the delay, I've been away and without a computer with access (thought it had it) Anyway, I was able to run the sql, and the result is a single column of pathrows. I'm assuming that these are all the values that are a match between the two tables. Am I correct? If so, this was amazing and I can't believe you were able to get it to work! Is there a way to show the accompanying columns from only one of the tables? For example, for all the matches, I need the columns labeled cloud code and cloud cover from the EDC archive table.

    Does this make any sense? :-)

    Thanks so much!

    Anne

  4. #19
    annemrosenberg is offline Expert in Training
    Windows 7 64bit Access 2007
    Join Date
    Jul 2011
    Posts
    39
    Hi Adam,

    Sorry for the email and the posting. I wanted to make sure you saw it.

    Let me know when you have a chance to answer the question about the one to many relationship.

    Anne

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. query issues
    By 9944pdx in forum Queries
    Replies: 3
    Last Post: 01-12-2011, 06:34 PM
  2. Query speed issues
    By thart21 in forum Queries
    Replies: 2
    Last Post: 04-07-2010, 05:16 PM
  3. Query duplication issues
    By MiCCAS in forum Queries
    Replies: 1
    Last Post: 02-18-2010, 11:31 AM
  4. between query issues
    By jderrig in forum Queries
    Replies: 4
    Last Post: 01-15-2010, 02:30 PM
  5. Relationship issues
    By asweisman in forum Database Design
    Replies: 1
    Last Post: 04-20-2009, 08:04 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