Results 1 to 10 of 10
  1. #1
    chriswrcg is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2018
    Location
    Philippines
    Posts
    142

    How to archive data

    I was wondering how to archive data in the same spreadsheet. I know that this might seam like a stupid question but bear with me.
    I track employees in a ware house. what jobs they do, how many moves they make, how many pieces the carry in a day. this is all great and easy to build in access but the next day when I enter the data the old data is replaced. (I know...Duh!)


    I know the simple answer is to just save a new copy each day but I am going to have to figure out how to create a report for the week and month that will have to draw on the archived data. I know from my excel experience that it is easier to point to an archive worksheet in the workbook rather that a folder on your computer or network and each days individual spreadsheet or database.
    I do realize i might be over thinking this as I am so new to access but what advice can anyone give me? What is the best way to handle this?

  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
    In my mind, you shouldn't be "archiving" anything. Your data should include a date. When you add new records, you include the date (and time?). That lets you run reports for any date range.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    chriswrcg is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2018
    Location
    Philippines
    Posts
    142
    I told you I was over thinking it. Access keeps the Old dates data when you add the new date?

  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
    Well, you'd want to enter a new record with the new date. If you overwrite an existing record, it won't be saved anywhere.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    chriswrcg is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2018
    Location
    Philippines
    Posts
    142
    How do I ensure I am creating a new record each day when I put in the new data in my form?

  6. #6
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    If the form is only to add new records, set its Data Entry property to Yes.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  7. #7
    chriswrcg is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2018
    Location
    Philippines
    Posts
    142
    you know what my next question is, How?

  8. #8
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    It's a property of the form. It can also be controlled with the arguments of OpenForm.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  9. #9
    chriswrcg is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2018
    Location
    Philippines
    Posts
    142
    I have no idea how to change the property of the form. Can you tell me how to do it please?

  10. #10
    chriswrcg is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2018
    Location
    Philippines
    Posts
    142
    Never mind, I figured it out

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

Similar Threads

  1. Replies: 7
    Last Post: 10-04-2018, 06:02 PM
  2. Export and purge data to an archive database
    By Gryphoune in forum Access
    Replies: 4
    Last Post: 03-13-2015, 09:45 AM
  3. Replies: 1
    Last Post: 10-30-2014, 06:31 AM
  4. Replies: 2
    Last Post: 04-10-2012, 11:03 AM
  5. Archive data
    By markhook in forum Forms
    Replies: 0
    Last Post: 08-08-2006, 10:23 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