Historical Data

  • Thread starter Thread starter DS
  • Start date Start date
D

DS

How do you set-up tables with historical data. I have an order-entry
database where at the end of the day I want the data to go to a table
storing the old infomation.
Thank You
DS
 
hi,
an append query which would append orders in the order
entry table to the history table.
you did not say anything about clearing the order entry
table but if you did want a clean table each morning, you
could have a delete query to do that.
you could attach both to a button to click at the end of
the day or attach them to the on close event of the main
entry form.
 
Personally, I would not move records around like that. Why add that
maintenance and risk losing a record? If there is a date in the record, you
can include or exclude records based on the date. If your forms and reports
are based on a query, then you would be able to filter out the old records.

Rick B
 
Rick said:
Personally, I would not move records around like that. Why add that
maintenance and risk losing a record? If there is a date in the record, you
can include or exclude records based on the date. If your forms and reports
are based on a query, then you would be able to filter out the old records.

Rick B
I was trying to archieve them so I could back them up and then remove
them from the system so that the database doesn't become bloated. Am I
barking up the wrong tree...again? Is there a way to do this?
Thanks
DS
 
hi,
an append query which would append orders in the order
entry table to the history table.
you did not say anything about clearing the order entry
table but if you did want a clean table each morning, you
could have a delete query to do that.
you could attach both to a button to click at the end of
the day or attach them to the on close event of the main
entry form.




go to a table
Thanks, I'll give this a try.
DS
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top