|
25 Years of Programming
An open source source for C, C++, OWL, BASIC, MDB, XLS, DOT, and more... |
Home Projects Up Sitemap Search Blog Forum+Chat About Us Privacy Terms of Use Feedback FAQ Images Services Ads Donate Humor |
|
Software:
Books:
|
Family History Genealogy MS Access DatabaseFAMHIST.MDB is a genealogy (family history or family tree) database that stores information about your ancestors and the relationships among them. It has a form that allows you to easily navigate up and down generations and across spousal relationships (i.e. from one side of the family to the other). Its tables are:
DownloadClick here to download famhistmdb.zip (153 KB). It contains versions of the database for Access 2.0 and Access 2003. Both versions have some data in them so you can see how the BrowsePeople form works. Delete the data before entering your own. Related project:The Microsoft Excel personal history calendar / diary project could be used to store and lay out descriptions of significant events for people in your family tree. ScreenshotsThe BrowsePeople form is easy to use but complex in its design. It has subforms, buttons that launch subroutines, and calculated fields that use domain lookup and other functions. I am no expert at Access Basic or Visual Basic, so it was amazing what could be done with only basic knowledge and a relatively small amount of code. The small amount of code is somewhat deceptive, however, because Access Basic code is dense. Also, much of the work is done by queries and subforms.
The same form in Design View:
Notes on the FAMHIST.MDB databaseUsing the databaseWhen you open the database, you'll get a warning about opening the Utility.mda module, and also about my digital certificate. Browse the database with the BrowsePeople form. It displays one record (a person), with their parents, spouse or spouses, and children shown, with buttons that allow you to navigate to any of the parents, spouses, and children you choose. Another button (currently disabled, however) opens and searches famhist.doc for references to the person in the active record, and can be modified to search any other database or document file for photographs, references to artifacts, etc. That button is disabled in the Access 2.0 version because the code requires some simple modifications before you run it. It is disabled in the Access 2003 version because the 2.0 methods don't transfer properly to 2003, and they need rewriting. Entering dataData entry is most easily done through the forms. The entry procedure is not very well automated, and it would be difficult to automate it because of the interdependencies among the records in the database. It is easiest to begin entry with the earliest generation and work forward to the present time. This is because two of the fields you enter for a person are the parents, and it's easiest if they are already in the database. Procedure to enter a person:
The AutoExec macro, if you enable it, will open both the BrowsePeople and EditMarriages forms on startup because you'll be switching between them frequently. Reasons for .MDB formatMDB format is the only one flexible enough to accommodate new facts. In spite of their apparent desirability for presentation or other purposes, I've rejected all of the following alternative formats because although they would look great, adding a new person or new information would require readjusting the entire document:
One advantage of a database format is that it lends itself to distributed access and editing through something like Windows Sharepoint services, so it could be stored in a central location like a website and everyone in a family could edit it on the internet. It should be possible to use the MDB to create (with some difficulty) any of the other formats, a process that would not work in reverse. Creating a lineage chartNo method is easy, and the final step is always a graphic design and layout problem.
|
|
|
|
|