A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

best way to archive records?



 
 
Thread Tools Display Modes
  #1  
Old February 11th, 2010, 04:59 PM posted to microsoft.public.access.tablesdbdesign
Kathy R.
external usenet poster
 
Posts: 20
Default best way to archive records?

I am creating a membership database for a church. Individual
information is in three basic tables:

tblFamily
FamLastName (for entire family)
Address

tblIndividual
FirstName
MiddleName
LastName (takes care of hyphenated married names, or different names for
children, etc.)
BirthDate
MarriageDate

tblMembership
JoinDate
JoinManner
TerminationDate
TerminationManner
and more...

Once a person leaves the membership of the church I need to "archive"
the information. It needs to be kept for our permanent records. What
is the best way to do this? My two thoughts would be:

1) set up duplicate tables and move the "archive" information to it

or

2) Create an active/not active field in the tblIndividual and keep all
the information, both active and archived in the original set of tables.

Is one way or the other better or more efficient? Is there some other
way that I haven't thought of that would work better?

Thank you for your help and input!

Kathy R.
  #2  
Old February 11th, 2010, 05:44 PM posted to microsoft.public.access.tablesdbdesign
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default best way to archive records?

My preference is to add a TerminationDate field. That way, I don't have to
find other tables or other databases to pull up historical information.

By the way, your tblMembership doesn't appear to include "members". Do your
"and more..." fields include either a [FamilyID] foreign key or a
[IndividualID] foreign key?

Regards

Jeff Boyce
Microsoft Access MVP

--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.

Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.

You can thank the FTC of the USA for making this disclaimer
possible/necessary.

"Kathy R." wrote in message
...
I am creating a membership database for a church. Individual information
is in three basic tables:

tblFamily
FamLastName (for entire family)
Address

tblIndividual
FirstName
MiddleName
LastName (takes care of hyphenated married names, or different names for
children, etc.)
BirthDate
MarriageDate

tblMembership
JoinDate
JoinManner
TerminationDate
TerminationManner
and more...

Once a person leaves the membership of the church I need to "archive" the
information. It needs to be kept for our permanent records. What is the
best way to do this? My two thoughts would be:

1) set up duplicate tables and move the "archive" information to it

or

2) Create an active/not active field in the tblIndividual and keep all the
information, both active and archived in the original set of tables.

Is one way or the other better or more efficient? Is there some other way
that I haven't thought of that would work better?

Thank you for your help and input!

Kathy R.



  #3  
Old February 11th, 2010, 08:36 PM posted to microsoft.public.access.tablesdbdesign
Jerry Whittle
external usenet poster
 
Posts: 4,732
Default best way to archive records?

2. However I like Jeff's idea of making it a Date field as that would answer
two question: If they are inactive and when did that happen.

1. That's almost always a bad idea including moving the records to another
database.

If you change the table structure of the 'active' table, but forget to do
the 'inactive' table, the records might not move correctly.

Speaking of moving, it becomes a 2 step process of appending to the inactive
table then deleting from the active. If someone becomes active again, you
have to do things in reverse.

If you need membership info from both tables, you'll need a Union query
which are somewhat cumbersome and slow.
--
Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.


"Kathy R." wrote:

I am creating a membership database for a church. Individual
information is in three basic tables:

tblFamily
FamLastName (for entire family)
Address

tblIndividual
FirstName
MiddleName
LastName (takes care of hyphenated married names, or different names for
children, etc.)
BirthDate
MarriageDate

tblMembership
JoinDate
JoinManner
TerminationDate
TerminationManner
and more...

Once a person leaves the membership of the church I need to "archive"
the information. It needs to be kept for our permanent records. What
is the best way to do this? My two thoughts would be:

1) set up duplicate tables and move the "archive" information to it

or

2) Create an active/not active field in the tblIndividual and keep all
the information, both active and archived in the original set of tables.

Is one way or the other better or more efficient? Is there some other
way that I haven't thought of that would work better?

Thank you for your help and input!

Kathy R.
.

  #4  
Old February 16th, 2010, 09:17 PM posted to microsoft.public.access.tablesdbdesign
Kathy R.
external usenet poster
 
Posts: 20
Default best way to archive records?

Thank you gentlemen! Sometimes the best answer is staring you (or me)
right in the face. I already have the "TerminationDate" in the
membership table so I can use that to show whether they are active/inactive.

And yes, Jeff, the "and more" includes foreign keys for both the
FamilyID and the IndividualID. Thanks for checking though. As I said,
sometimes it's the simplest things that I miss.

Kathy R.

Kathy R. wrote:
I am creating a membership database for a church. Individual
information is in three basic tables:

tblFamily
FamLastName (for entire family)
Address

tblIndividual
FirstName
MiddleName
LastName (takes care of hyphenated married names, or different names for
children, etc.)
BirthDate
MarriageDate

tblMembership
JoinDate
JoinManner
TerminationDate
TerminationManner
and more...

Once a person leaves the membership of the church I need to "archive"
the information. It needs to be kept for our permanent records. What
is the best way to do this? My two thoughts would be:

1) set up duplicate tables and move the "archive" information to it

or

2) Create an active/not active field in the tblIndividual and keep all
the information, both active and archived in the original set of tables.

Is one way or the other better or more efficient? Is there some other
way that I haven't thought of that would work better?

Thank you for your help and input!

Kathy R.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:40 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.