Results 1 to 3 of 3
  1. #1
    Access.User is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Aug 2020
    Posts
    2

    How to Fill out One table from Two Queries

    HI,

    I have two Query
    1- ("QExpCount" contains two column "CountofExpDate" & "DepID" & "CountofDepID")
    2- ('QStaffCountDep" contains two column "DepID" & "CountofDepID"),

    I want to generate a report contains the results from the above queries like below

    DepID CountofExpDate CountofDepID
    ex. finance 2 8




    for this purpose, i created new table ("tbl_ExecutiveRep" contains three column "DepID", "CountofExpDate" "CountofDepID") .

    this table "tbl_ExecutiveRep" will be filled when execution of the above queries, so i will delete all records before each query execution.

    Your Help is Appreciated.

    Thank you

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    Build another query that joins queries on DepID field. Use that query as source for report. Don't really see need for saving to table.

    You show 3 fields for query1.
    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.

  3. #3
    Access.User is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Aug 2020
    Posts
    2
    It's fantastic solution, Thank you very much June7.

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

Similar Threads

  1. Replies: 14
    Last Post: 03-15-2017, 08:33 PM
  2. Using Queries to fill in a field??
    By TastyOs in forum Queries
    Replies: 1
    Last Post: 11-07-2016, 05:33 PM
  3. Replies: 1
    Last Post: 11-23-2014, 02:20 PM
  4. Replies: 3
    Last Post: 03-07-2014, 10:39 AM
  5. Replies: 2
    Last Post: 04-08-2012, 03: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