I have a database for tracking personnel and personnel related information. The Parent Table is "ACTIVE PERSONNEL"
which has MemberID as an autonumber. The Child Tables are joined using MemberID and are VACATION, COUNSELING, and REQUESTS each one containing thier own unique ID; VacationID, CounselingID, and RequestID respectively. I am required to keep records of all personnel for 3 years after they transfer, but for the sake of database size I would like to append them to a separate "INACTIVE PERSONNEL" database. I have already created the new database which I imported the table structure of the "ACTIVE PERSONNEL" database into. I am unsure as to how to get all of the information appended to this database when someone transfers. I am relatively new to Access, so feel free to dumb down your answers as much as possible. Thanks for the help
3 1551
I have a personnel database to keep track of all information relevant to the personnel who are on staff here, and I am required to maintain records for 3 years after someone transfers. I am trying to append data from one parent table and all of it's related child tables to a seperate "Transferred" database so that I can keep the size of my active database down to a reasonable number. I have attached the basic structure of the tables that I will be using. I am VERY new to Access so any help would be greatly appreciated.
NeoPa 32,557
Recognized Expert Moderator MVP
Firstly, the design cannot be the same in the archive if you have an AutoNumber field in the main table. I'm sure once you think about this you'll see why.
When you have a table design that will allow copying of the main data, then you would need to copy the relevant records from the main set of tables to the Archive ones in an order that is consistent with any restrictions (Referential Integrity etc) set on your data. When successfully done, the same data can then be deleted from the main tables - again in a consistent order.
The code to handle this can be on a form within either of the databases, but whichever it's in, would also need links to the tables of the other in order to do the data transferring.
NB. Restoring data from an archive to tables which have AutoNumber fields is another problem entirely, and is not simple to accomplish. If this is in your future plans then you need to consider this carefully before proceeding.
NeoPa 32,557
Recognized Expert Moderator MVP
Dan,
I merged your threads as they don't quite have the same question in them, though I'm sure they should have.
Now I know more about your situation (than when I first answered the question) I would suggest strongly that data size is unlikely to be an issue for you. I can't be sure, but unless your enterprise is extremely large (or your database very poorly designed) Access should manage the load.
The recommended approach would be to keep all the records in the same table but with a flag to indicate the status and queries to pull just the relevant data where required.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Jason |
last post by:
I am trying to filter records in a primary form based on records in
related tables. The data in the related tables is being displayed in
the primary form
through subforms. To be more specific, I...
|
by: BlackFireNova |
last post by:
I have an existing database, and I need to add another table to it. The
database tracks equipment, however I have a need to track ancillary
items which are purchased or added to some of the...
|
by: Leinad Kong |
last post by:
I'm using Access 2002, as front-end and back-end as well:
1) I faced database corrupted problems, when more than 1 user edit
concurrently.
I'm using All-records Locking, and open-exclusively as...
|
by: Pete Davis |
last post by:
I have two tables, let's just say Master and Details. The Master is the
parent table, Details the child table.
What I want is to create a row filter on the children. But I also want to
create a...
|
by: Darin |
last post by:
This is something that on the surface seems like it should be simple,
but I can't think of a way to do this. I have a table that is a list
of "jobs", which users create and use. It has a single...
| |
by: Matt |
last post by:
I have a parent table that has 2 child tables. I need to drop and
recreate the parent table because there has been a change to one of the
column types. What should I do prior to dropping the...
|
by: HLCruz via AccessMonster.com |
last post by:
I am working with a database that has client information separated in to 4
related tables - tFolder, tAddress, tEmail, tPhone number. In addition there
are related tables tGifts and tCalls. The...
|
by: sj |
last post by:
Situation:
I have 2 tables, parent table (Invoice) and child table
(InvoiceDetails) that is link by InvID in the child.
Requirement:
Need to do one-time append of information to another table...
|
by: upwardgazing |
last post by:
I'm using Access 2003 (Access 2000 file format) and I have two tables related one-to-many called tblTempEncounter and tblTempEncounterDetails. I need to move a record from the first table with it's...
|
by: TrueMan2010 |
last post by:
Hi All,
I need to insert new records in existing Tables of Access. The two tables are related by Primary and Foreign key relation. The new data to be imported is in Excel sheet which I have...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
| |