Results 1 to 5 of 5
  1. #1
    Joe1970 is offline Novice
    Windows 7 32bit Access 2016
    Join Date
    Nov 2019
    Posts
    3

    How to return data specific to employee & customer & a range of days less than the project end date

    I have a form for tracking various dates when an employee completes a segment of the project. I want to be able to run a query that will return only data specific to the employee responsible for that segment if they have not entered a completion date and that segment falls in number of days (preferable a range) that is less than the project completion date.



    For example: Project completion date 12/31/19

    Employee Customer Project Segment Project Segment Completed

    Joe Tulsa 1st Meeting Docs (field is blank, no date entered)

    I am new to Access so I apologize in advance if this has been answered previously. Ultimately my goal is to set this up so the employee gets an e-mail reminder through Outlook via Office 365

    Thank you!

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    The lack of replies probably indicates there isn't enough info to give an answer. What is your table structure, or can you attach the db here? It's easy enough to add a criteria to a query that gets data within a given date range. That range can be selected by the user or be relative to "today", like anything in the next 30 days. It should also be easy to add a criteria to limit data to a specified employee, presuming there's a field for employee in the data.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    Joe1970 is offline Novice
    Windows 7 32bit Access 2016
    Join Date
    Nov 2019
    Posts
    3
    Quote Originally Posted by pbaldy View Post
    The lack of replies probably indicates there isn't enough info to give an answer. What is your table structure, or can you attach the db here? It's easy enough to add a criteria to a query that gets data within a given date range. That range can be selected by the user or be relative to "today", like anything in the next 30 days. It should also be easy to add a criteria to limit data to a specified employee, presuming there's a field for employee in the data.
    There are tables in Access for all of the information needed. I just can't seem to write the code. You are correct with respect to what I am trying to do as far as date and employee. I tried to upload the Access file with the tables and form, but it is to big at 2.98KB. any help would e greatly appreciated.

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Try doing a compact/repair and then zipping it.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    Joe1970 is offline Novice
    Windows 7 32bit Access 2016
    Join Date
    Nov 2019
    Posts
    3

    That Worked

    Cool, That worked
    Attached Files Attached Files

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

Similar Threads

  1. Query A specified date range for each customer
    By Ronald Burke in forum Queries
    Replies: 5
    Last Post: 03-22-2019, 09:57 AM
  2. Replies: 2
    Last Post: 06-13-2018, 03:59 AM
  3. Replies: 3
    Last Post: 03-24-2017, 12:34 PM
  4. Can't separate project data based on date range
    By jason.cyr13 in forum Queries
    Replies: 1
    Last Post: 01-29-2014, 11:32 AM
  5. Replies: 5
    Last Post: 04-22-2013, 07:50 AM

Tags for this Thread

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