Results 1 to 2 of 2
  1. #1
    crcastilla is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Aug 2011
    Posts
    18

    Microsoft Office Access engine could not find the object ". Make sure the object exis

    Microsoft Office Access engine could not find the object ". Make sure the object exists and that you spell its name and the path name correctly.
    That us the message I get. I'm trying to pull out a table joining many multiple queries and when I say many i mean MANY. I know it looks really weird but I'd appreciate if anyone can tell me if the code is wrong or if missing anything please. Thank you.
    This is what I used:


    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [#2 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [B-1901 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [Hemco#2 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [Hemco001 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [Hemco49308-02#1 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [Hemco49308-02#2 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [HemcoC-48 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [HemcoPO-1 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [B-1901 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [Hemco#2 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [Hemco001 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [Hemco49308-02#1 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [Hemco49308-02#2 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [HemcoC-48 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [HemcoPO-1 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-24594 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-25410 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-25413 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-25414 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-25415 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-25425 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-25427 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-25428 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-25429 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-25430 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-25441 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-25451 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-25453 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-25455 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-25496 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-25816 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-25822 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-25823 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-25828 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-25834(Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-25835(Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-25840 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-25841 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-25846 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-25853 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-25858 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-25860 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-25864 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-25871 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-28560 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-28858 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-28859 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-31992 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-35230 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-35866 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-36317 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-38555 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-39803 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-40345 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-40379 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-40476 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-40542 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-40572 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-40584 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-40590 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-40625 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-41035 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-41886 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-41887 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-41888 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-41890 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-43222 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-43834 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-45996 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-45997 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-47267 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-47991 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-47992 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-47993 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-48046 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-48188 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-48189 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-48190 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-48191 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-48280 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-51446 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-54860 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-54861 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-55541 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-55542 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-55543 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-55850 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-58305 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-58462 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-59782 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-59783 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature


    FROM [P-60165 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-60166 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-60167 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-60597 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-61527 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-61528 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-61943 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-64888 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-66439 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-808967 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-83 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [P-84 (Q)]
    UNION ALL
    SELECT SN, GageDescription, CalibrationTolerances, S1, A, S, SO, Tolerance, By, Date, Due, Temperature
    FROM [SD-M22505 (Q)];

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    49,226
    How many UNIONs in that query? I hit a limit of 50 when I tried one like this.

    Date is a reserved word in Access/VBA. Should not use reserved words as field names. Also recommend no spaces, special characters, punctuation (underscore is exception) in names. Do any of these and should enclose in [].
    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. Replies: 1
    Last Post: 04-14-2011, 03:46 PM
  2. Replies: 3
    Last Post: 11-02-2010, 10:14 AM
  3. Replies: 6
    Last Post: 10-30-2010, 08:42 AM
  4. Replies: 1
    Last Post: 03-02-2010, 03:01 AM
  5. "doCmd - can't find object"
    By drmcfall in forum Access
    Replies: 1
    Last Post: 08-18-2009, 09:41 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 - Senior Forums