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

    Auto Archive to new BE file

    Is there visual basic code which could auto archive table data following the below factors:
    When whole file size reaches a certain limit. Set Threshold.


    When a command button is pressed with correct password entered.
    At certain time periods, ie date entered is greater than 3 years old.

    Thanks any help is greatly appreciated.

  2. #2
    Mclaren is offline Competent Performer
    Windows 7 Access 2007
    Join Date
    Feb 2010
    Location
    Johannesburg
    Posts
    164
    geeze...this would be nice to have....

  3. #3
    NTC is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2009
    Posts
    2,392
    since no db can grow to infinity - archiving needs to occur at some point. or just deletes if there is no need to keep the info.

    it is a manual process - generally the dba triggers a series of queries that shave off the oldest records into a separate set of tables that go into an archive db. this is often just an annual event.

    Hope it helps.

  4. #4
    aeiou137 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jun 2011
    Posts
    3

    Auto Archive to N

    I realize that this may traditionally be a manual operation.
    But if you in the opening / closing of the program were to check several parameters you could somewhat automate the process.

    IE.

    Like the Compact on close routine.

    Thus

    On application close
    check table .... date and if greater than 3 years archive.
    Check table ... move from archive less than 1 year to greater than 1 less than 2 years..
    If check box xxxx is true then .... archive.

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

Similar Threads

  1. Archive reports.
    By Desstro in forum Reports
    Replies: 6
    Last Post: 10-31-2010, 11:50 AM
  2. Auto Archive Function
    By Desstro in forum Database Design
    Replies: 31
    Last Post: 09-10-2010, 06:21 AM
  3. How do I archive a report?
    By Computer202 in forum Reports
    Replies: 7
    Last Post: 03-07-2010, 10:58 AM
  4. Archive and Compact function
    By dollygg in forum Access
    Replies: 3
    Last Post: 08-18-2009, 03:49 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