Results 1 to 2 of 2
  1. #1
    FuzzFuzz is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2012
    Posts
    1

    Autocop and past when 2 values are the same

    Hi everyone.



    Since I'm relatively new to databases, I thought it would help to sign up here.
    So for my first question, I have a question about copying rows when 2 values match.

    The situation is that I have a table in wich we keep track of people at work.
    So, we keep track if they are late, sick, better, to long with coffebreak, etc.

    Now the most interesting of these situations is the one called sick, because if a person is sick, it might very well be that he is going to be sick the day after as well.

    the question is: is it possible to copy all the rows of every person who has reported (or still is) sick yesterday and copy these values to today automatically.

    In the form itself, the date is already automattically updated, but I'm not sure if this would be of real importance.

    thanks in advance.

    Fuzz

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,926
    Yes, requires VBA code running INSERT SELECT sql action statement. Common topic. Do search in forum or Google.
    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.

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

Similar Threads

  1. Past Due (30, 60, or 90)
    By claysea in forum Database Design
    Replies: 8
    Last Post: 02-11-2013, 03:22 PM
  2. Reviews Past Due
    By Luke in forum Access
    Replies: 5
    Last Post: 07-19-2011, 10:51 AM
  3. Past Due Query
    By sai_rlaf in forum Queries
    Replies: 4
    Last Post: 07-06-2011, 01:53 PM
  4. 12 Zeros past decimal
    By WhatnThe in forum Access
    Replies: 24
    Last Post: 01-03-2010, 09:53 PM
  5. Date Past Function
    By Laney in forum Access
    Replies: 4
    Last Post: 05-21-2008, 07:19 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