473,396 Members | 1,996 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,396 software developers and data experts.

Linking table to multiple tables

One of the things that is common between most genealogy databases is
that they will have one screen were you log all the information for a
given person and then (maybe) have a link to a source record.

I'm trying to create a database where you have tables that record facts
and then link those facts to a person record. For example, I'll have
tables for Birth, Marriage, Military Service, Tax Records, etc. They
are separate tables because each type has a different dataset. The
data associated with a birth event is different than the data
associated with military service.

I need to be able to tie all these records together and attach to a
single person. For example, Mary Sue Trekkie may have a couple of
records for birth (bible record, birth certificate), a record for
marriage (marriage license), a couple of record for a will (being
mentioned in, her own will).

So when displaying the information for Mary Sue Trekkie I need to
display a list of records from all these tables.

I am assuming that I would do this using some kind of linking table
where there is a field that ID's the table and then another field that
gives the specific record ID. I was thinking that I could have a field
in the linking table, perhaps the primary key even, that gives the name
of the table that is in Access (tblBirth, tblMarriage, etc).

I'm not exactly sure how I would get the right information to pull from
the right table and display it in either a Form or a Report in Access.

Does anyone have any suggestions?

Do you know of a better way to organize this stuff?

I considered having a single table for events (birth, marriage, school,
death, etc) but each type of data just doesn't fit a single table
structure. I know there has to be a way to do this.

Any indeas would be greatly appreciated.

Tammy

Nov 13 '05 #1
2 6219
This is a pretty basic relational database question so I am assuming
you are new to this. You need to have a field in each table that is
common for all related tables. You can use the person's name, but you
will need to make sure it is exactly the same in each table. To tie it
all together you create a query with an outer join (1 to many
relationship) from the main table (this table will hold all names) to
each of the related tables. You will also need to pass a variable (the
person's name) to the query's criteria in order to pull the right
information. You will use this query as the recordsource in your
form/report.

Nov 13 '05 #2
Am I missing something here, or is this just a parent table with a
whole lot of children? If you need to enter data into only some of
them, you could just create a tabbed form and put the subforms there.
Or did I miss the gist of the question?

Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: gasturbtec | last post by:
please help im new at access programming and i just got this project dropped in my lap because the old programmer quit. i've been doing ok so far but now i need to add code to an existing database...
2
by: jayjay | last post by:
In the database I have, its split into front end screens and reports and backend tables for data. Of course, this means the linked tables are linked using the linked table wizard to the network...
1
by: Daveyk0 | last post by:
Hello there, I have a front end database that I have recently made very many changes to to allow off-line use. I keep copies of the databases on my hard drive and link to them rather than the...
11
by: dskillingstad | last post by:
I've been struggling with this problem for some time and have tried multiple solutions with no luck. Let me start with, I'm a novice at Access and I'm not looking for someones help to design my...
2
by: jomonto | last post by:
Hello- Here is my situation. I have multiple copies of the same database on our MS SQL server (same program, but differnet funding streams). I have an Access 2003 front end that I link to the...
1
by: hmiller | last post by:
I'm sorry to populate the server with yet another question about linking multiple tables and queries, howerver I have not been able to find the right criteria. My problem. I am trying to...
6
by: heyvinay | last post by:
I have transaction table where the rows entered into the transaction can come a result of changes that take place if four different tables. So the situation is as follows: Transaction Table...
3
by: ARC | last post by:
I'm having trouble here with Access 2007 and connecting to a different database. The code below works great IF the previous back-end database connection is still present and you are trying to...
7
by: Salad | last post by:
I am converting an application from A97 to A2003. I have 2 tables created by another application as a Foxpro.dbf. The table has no index. The connect string in A97 is FoxPro...
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: 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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
0
Oralloy
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,...
0
jinu1996
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...
0
tracyyun
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...
0
agi2029
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 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.