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

    Inter-Query Selection

    Perhaps I'm framing this question improperly, but in a nutshell, I want my query to yield some overall results PLUS a selected segment of those overall results.



    I run Year-To-Date (YTD) reports on the Straight-Time (ST) hours and Over-Time (OT) hours of a plant from our Payroll system, export to EXCEL, then import to ACCESS as a table. My query takes this table, then extracts all the ST hours and OT hours by departments. This query is then used as the Record Source for an ACCESS report.

    Now, in addition to YTD results, I need results of the latest full month. My basic table of hours data includes the month as a number. What I want the query to do is take the YTD results, and extract another set of results based on a given month.

    The above would be the cleanest way, though I've nearly given up trying to figure it out, and am about ready to have two separate queries feeding a single report; though I'm sure there may be challenges for me there too! ;-)

    Anyone have any ideas? I'd be glad to supply a sample table with my current query and report if that would help.

    Thanks! Michael

  2. #2
    kennejd is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    188
    You can post your db....but there's nothing wrong with having 2 queries feeding a single report (perhaps with subreports for YTD and MTD info). You might also consider a union query.

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

Similar Threads

  1. Replies: 0
    Last Post: 03-15-2011, 07:35 AM
  2. Selection List for Query
    By Juan4412 in forum Queries
    Replies: 13
    Last Post: 01-09-2011, 05:59 PM
  3. referencing subform entry in selection query
    By Pielewuiter in forum Forms
    Replies: 22
    Last Post: 11-20-2010, 01:58 PM
  4. Query from a Combo Box Selection?
    By bkvisler in forum Queries
    Replies: 3
    Last Post: 09-04-2010, 06:11 PM
  5. Replies: 0
    Last Post: 02-09-2007, 09:20 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