473,385 Members | 1,553 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

History or archive mechanism in Access

I would like to design an archive system for my access database. I have a Customer table that is quite large and is becoming slow to search for a record. We use an Access form to search for records via a Customer ID. I can reduce the size of the table by archiving old records to another table called History. However, I still want access to the historical records from the Access form when the record cannot be found in the Customer table. We could have a history search button that can be clicked to look for the record in the History table and display that in the form. Is there a good way to do this?
Jan 31 '12 #1
4 1835
Mariostg
332 100+
There is definitely more than one way to do that. I am sure I have seen a thread on this forum.
But I am very curious to find out more as to what you mean by "quite large". Assuming you search on an indexed field, this is normally pretty fast. Maybe the problem lies somewhere else.

Anyway, assuming your customer table has some kind of date field, you could use this to move some of that data to another table or even another database file based on the age of the record.
Jan 31 '12 #2
NeoPa
32,556 Expert Mod 16PB
As Mario says, this is almost certainly an indication of a poorly set up database design, rather than a limitation of an Access table. De-normalising the database to handle this would certainly not be recommended unless the circumstances are extreme (and that would require a situation that's outside of my Access experience - and I've been playing with it for a while).
Feb 1 '12 #3
I think you guys are right and I will try to compress the database. I still wanted to archive some records to a history table. Would it be possible to have an access form with 2 buttons - one to search Customer database and another to search history table? User would press button 1 first to search and if record is not found, they would click the history button.
Feb 1 '12 #4
NeoPa
32,556 Expert Mod 16PB
It's certainly possible, but I'd never advise it myself. If that is proving a problem then you should be looking elsewhere for a solution.

There are a number of possible approaches so, if you're determined to take that approach after all the adverse warnings, you'll need to specify more specifically what you intend.
Feb 1 '12 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: John Dunlop | last post by:
leegold2 wrote: > I know php is server side scripting, but say a page is rendered by php > were A = 1. Now, I want when the user clicks the back button on the > browser and sees the page...
3
by: Phil Sherman | last post by:
UDB LUW (Windows) 8.1 FP9a I issued a PRUNE HISTORY 20050819 AND DELETE and was surprised to see that the archived log files were not physically deleted. The history record of the 20050818...
4
by: Ray | last post by:
Does anyone out there have experience with using Db2 8.2 with a program called MISys (also known as ACCPAC). I am having some problems with the application running exteremly slow on workstations...
0
by: apuna | last post by:
We have SAP applications running on DB2 on AIX and Windows. On one of our AIX server, we recently created a symbolic link to our Log directory some thing like ln -s /db2/NODE0000/SQL0001/SQLOGDIR ...
3
by: Rafael Tejera | last post by:
I would like to create an history module to my application.. I need some advice to use a duplicate database with who, when and where fields added to that new duplicate table, or create a table...
3
by: Kush | last post by:
Hi. I was just wondering if someone could help me understand the relationship between the recv_hist_retention value and archive logs (and pruning of history file). My understanding is that the...
25
by: lnatz | last post by:
Hi, I am writing a shell(project). I would like to use readline, ncurses and/or history to search history. I want to write a function that would recognize the KEY_UP and KEY_DOWN,and search the...
0
by: ramprakashtamrakar | last post by:
I have website www.nollsoftwaregroup.com I uploaded archive MS Access database. But after uploading it has become readonly, so I can not insert any data. Please suggest how to make archive. Ram...
1
by: ElTipo | last post by:
Hello People, I need some help, I need to know how I made a report with old data like a history data. For example if you need to see anual data from 1/1/06 to 12/31/06 for any amounts. If any...
5
by: LizaHawkins | last post by:
Hi I have a table with 10 fields for 100 units Any of the 10 fields for any of the 100 units can be updated by the user at any time. 1) I want to store the data such that i can choose a unit and...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.