Re: PK & FK problems in data consolidation
- From: Frank Situmorang <hfsitumo2001@xxxxxxxxx>
- Date: Mon, 3 Nov 2008 17:49:01 -0800
Thanks Michael for your input. I am still open for redesigning it, since I
just finished it recently, is it a big job?. The relationsip is all the same
I think except that instead of surrogate PK, now we want to make it the even
5 field PK ?(member,church,Regional, Union,Division) of member table and 5
field PK (address,church,Regional,Union,Division) of household address table.
My question is should we make also the 5 FK of this?. HouseholdAddress table
related to member table as one to many. Should we have 5 FK also in
membertable?.
In order to have a memership report by church, by regional, by Union, by
Division), I have related the following tables with One to many relationship:
1. Church to member
2. Regional to Church
3. Union to REgional
4. Division to Union
Should we have a 5 field FK in member,church, regional, division tables?.
Does affiliation table will take care the combination of the FK too?. Address
and member ID since it will be increasing as we enter the data, column should
also be primary key too?.
Thanks for your kind help.
--
H. Frank Situmorang
"Michael Gramelspacher" wrote:
On Mon, 3 Nov 2008 06:32:00 -0800, Frank Situmorang <hfsitumo2001@xxxxxxxxx> wrote:.
Yhanks Michael for your comprehensive explanation, I have those tables in my
database except the affiliation table what is that for.
I have sent you my database thru your email and explained my problems,
thanks for your helps
You have a complete functioning database program with multiple forms and reports. Now you want to
expand the usage of this database throughout the church hierarchy. The problem is that the database
uses an autonumber key unique to each church. You are looking for an easy fix which will allow you
to basically keep things about as they are. I do not see how you can avoid redesigning the
database.
I do not understand your table structure and cannot read the table names, because they are in a
foreign language. I see only two defined relationships in the relationship window, and they are
defined in the front end.
The Affiliation table brings ChurchID, RegionID, UnionID and DivisionID together. It defines the
allowable combinations of Church, Region, Union and Division. Member table is joined to the
Affiliation table. This is for data integrity so as to define valid combinations.
I really do not know where you can go with this. Maybe there are still other ideas out there.
- References:
- Re: PK & FK problems in data consolidation
- From: Frank Situmorang
- Re: PK & FK problems in data consolidation
- From: Michael Gramelspacher
- Re: PK & FK problems in data consolidation
- Prev by Date: Shift-select many items in textbox?
- Next by Date: RE: Testing for blank records in a subform
- Previous by thread: Re: PK & FK problems in data consolidation
- Next by thread: Re: PK & FK problems in data consolidation
- Index(es):
Relevant Pages
|
Loading