Results 1 to 3 of 3
  1. #1
    billybeer is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jun 2015
    Posts
    27

    query using table to supply criteria for parameters


    I would like to run a series of queries that will run against my main table. The queries will be the same but I want each one to change the employee criteria as the queries run. The employees I want to run the queries are identified in a separate table by their name and employee number and linked to the main table by their employee number In the end I want to run the queries at the end of the week that will show each employee their unfinished tasks. These tasks are marked as unfinished in the main table. Ultimately I would like to email each employee with their weekly list of uncompleted tasks.

  2. #2
    Minty is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,001
    This sounds as if you could run one query,if your data is stored correctly.
    Can you post up the table relationships as an image, and maybe an example of one query you already have ?
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

  3. #3
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,518
    Sounds like this could be of interest:

    http://www.granite.ab.ca/access/emai...recipients.htm

    You could also point your query to a form control, and in code loop through your employee table, putting each employee there in turn, and run a process to email the query data.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Replies: 13
    Last Post: 08-16-2017, 01:36 PM
  2. Query ignoring criteria ONLY with parameters
    By Lluewhyn in forum Queries
    Replies: 2
    Last Post: 07-08-2016, 10:34 AM
  3. Replies: 1
    Last Post: 07-03-2013, 10:39 AM
  4. Supply and demand query
    By jamtrad in forum Queries
    Replies: 7
    Last Post: 01-26-2012, 02:29 PM
  5. Form to supply parameters to a report
    By Ray67 in forum Reports
    Replies: 11
    Last Post: 07-22-2011, 02:06 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