Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
  1. #16
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,621
    I've never tried to do nesting this complicated. I would have to test with data. Sorry, think you are on your own.
    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.

  2. #17
    bs0d is offline Advanced Beginner
    Windows 7 64bit Access 2013
    Join Date
    Jul 2014
    Posts
    32
    Thanks, Rawb.
    Adding , after TimeDay changes the error to, "Cannot find input table or query Q2..." But since I need Item_KEY, ReadingDate, SalesProd1, DailyProd2, DailyProd 3 accessible, then the structure of the query is probably incorrect. I understand it would be difficult for someone else to interpret what I need and be able to provide an answer. I'll read up on the links and see what I can figure out. I have a few options, but it seems the nested query approach is the best. It saves from using countless named queries in the db, and saves from what would be an ever expanding table size stored locally. So I guess it's just getting over the complexity hump.

    I may prepare a test database if I continue to encounter hurdles. Thanks again June7 & Rawb for the feedback

  3. #18
    bs0d is offline Advanced Beginner
    Windows 7 64bit Access 2013
    Join Date
    Jul 2014
    Posts
    32
    Hey I'm reading the allenbrowne links and have a question. In VBA, can I create a stacked query without saving the query in Access?

    I guess this would be querying an ADODB.Recordset with another ADO query?

  4. #19
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,621
    AFAIK, no. Nested SQL statements can be used to open a recordset.
    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.

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

Similar Threads

  1. Need to consolidate data from 2 queries
    By robinzworld in forum Queries
    Replies: 1
    Last Post: 10-13-2014, 12:15 AM
  2. Managing Contacts in a multi-tier database
    By MSAccessNewGirl in forum Forms
    Replies: 7
    Last Post: 02-27-2014, 12:08 AM
  3. Replies: 5
    Last Post: 06-24-2013, 04:25 PM
  4. Replies: 6
    Last Post: 05-11-2012, 11:16 AM
  5. 3RD Tier Combo Box
    By Jademonkey2k in forum Access
    Replies: 4
    Last Post: 11-15-2010, 08:33 AM

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