Results 1 to 4 of 4
  1. #1
    mari_hitz is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2011
    Posts
    28

    Apply changes from date changed

    Hi everyone,



    Hope you are ok. I have a question/issue: I have a database that contains a table with all tasks made in our team and the time it takes to perform the task. I have another table with month, year and value in which I put month after month the volumes that each task handles. So, in a query I multiply the time to perform the task and the volume; month after month I have different results. However "the time to perform the task" may vary depending on processes improvements that we made. If before I had 5 minutes to perform the task and now I have 2, I change it and then the results on the query are changed for all months. I do not know if there is a way to specify that that change must be applied from the month where it is updated to the following months and not retroactively. Is this possible?

    Regards,

    Mari

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,549
    You would need a form (a CHANGE TASKS THRU DATE RANGE form)

    Boxes to
    enter the Task,
    the new time, and
    the date range it would be effective.

    click execute button and a query would update the time between StartDate and EndDate

  3. #3
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    if any value in your database changes over time you've got to have a table to support a 'history' of the changes

    So for instance instead of having a table like:

    Code:
    TaskID  TaskName  TaskTime
    1       Task A    5
    and when you change the task from a 5 minute task to a 2 minute task you change the value of this single instance to 2 in the task time you would have a table more like

    Code:
    TaskID  TaskName  TaskTime  TaskEff  TaskTerm
    1       Task A    5         1/1/2014 1/5/2014
    2       Task A    2         1/6/2014
    Then you would pull the appropriate task record when doing your calculations

  4. #4
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,549
    Ok the execute macro would 1st run a query post to the history of changes tbl.
    THEN correct the times in the main tbl.

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

Similar Threads

  1. Default value doesn't update when date is changed
    By TheHarleygirl2005 in forum Programming
    Replies: 4
    Last Post: 08-30-2013, 05:57 PM
  2. Date Picker Changed All Dates
    By deesy58 in forum Forms
    Replies: 11
    Last Post: 02-05-2013, 08:33 AM
  3. Replies: 8
    Last Post: 05-16-2012, 10:49 AM
  4. Date Stamp when a field is changed
    By winterh in forum Access
    Replies: 1
    Last Post: 04-25-2012, 07:27 AM
  5. Apply Filter based on unbound date boxes
    By anoob in forum Access
    Replies: 3
    Last Post: 01-21-2011, 05:26 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