Results 1 to 2 of 2
  1. #1
    maintt is offline Novice
    Windows Vista Access 2003
    Join Date
    Jul 2010
    Posts
    26

    Deleting Data but stilll retaining it Somewhere

    Hi Guys

    I have 800 Clients in a database and each week some will leave and some will join, on my form i have StartDate and I also Have ExitDate, my problem is I don't know when they will be leaving, but when they do, we fill in the exitdate and i want to be able to run a query that dumps the data for all that have an exitdate into a history file, i want to run this query at the end of each day, can this be done?

    Many Thanks

    Maintt

  2. #2
    Join Date
    Jun 2010
    Location
    Belgium
    Posts
    1,046
    Hi,

    sure you can archive them into a history database using some action queries (append queries to add the records to the archive tables and delete queries to delete them from the current database). Only, be very carefull with deleteing data. Be sure to check for related data in other tables. If there is no referential integrity you could be producing orphans.
    Maybe you could solve the problem by filtering your form on client records which don't have the exitdate filled in?

    greetings
    NG

    btw: not all of us are guys......

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

Similar Threads

  1. Replies: 1
    Last Post: 06-16-2010, 11:54 PM
  2. Replies: 1
    Last Post: 05-22-2010, 10:39 AM
  3. Object variable not retaining value
    By tuna in forum Programming
    Replies: 0
    Last Post: 05-21-2010, 05:38 PM
  4. Retaining format
    By tlmackey in forum Import/Export Data
    Replies: 0
    Last Post: 02-25-2010, 03:42 PM
  5. Deleting certain data
    By swindmiller in forum Queries
    Replies: 3
    Last Post: 02-17-2010, 10:39 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