Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Database Design / August 2005

Tip: Looking for answers? Try searching our database.

Design Problem (Re-Post)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bryan Hughes - 08 Aug 2005 20:57 GMT
Hello,

I posted this question earlier but it is not very well thought out.

I am trying to figure out a normalization problem with some table in my
database.

Then main table in my database is tblCase_File there is a unique ID for each
case file.
Under the case file table are several tables including  tblPrimary_Contact
and tblClient.

The tblClient has a Unique ID for each client.
Under the tblClient there are several tables including tblClient_Contact.
The tblClient_Contact can have a separate address for each client if they
are different.
There can also be multiple entries for a client to track address history.

In the Case File there is only 1 primary contact for each case file, the
majority of the time this will be a client, but there will be occasions
where the primary contact is not a client in the case file.

How should I design this to normalize this table, so If the primary contact
is a client I am not creating duplicate entries in the tblPrimary_Contact
and tblClient_Contact?

What I have so far is the tblPrimary_Contact has four fields a PK, Case_File
ID, Primary_Contact ID and a Client ID.
Under this I have a tblPrimay_Contact_Address when the pc is not a client.

If the primary contact is a client the Client ID is entered if nothing is
placed in the tblPrimay_Contact_Address for that case file, instead the code
looks for the matching Client ID in the tblClient_Contact.

It seems that there is a better way to do this that I am missing.

-TFTH
Bryan
Sharkbyte - 08 Aug 2005 21:31 GMT
See my response, to a previous post, as one solution.  However, what you
could do would be to create a single table for all personal information (ie.
name, address, etc.).  Then have Primary_ContactID and ClientID both
reference the ID of the person, in the first table.

tblPersons
  PersonID
  Name
  Address

tblCase
  CaseID
  PrimaryContactID  (FK to tblPersons.PersonID)
  ClientID  (FK to tblPersons.PersonID)

HTH

Sharkbyte

> Hello,
>
[quoted text clipped - 34 lines]
> -TFTH
> Bryan
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.