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 / January 2004

Tip: Looking for answers? Try searching our database.

Help again

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
bob - 14 Jan 2004 21:16 GMT
I have multiple table the parent table holds customer info, the child table
holds out of state info.  Due to normalization I am breaking up the tables
because only 25% of my records have out of state info.  What I want to do is
to have the primary key from the parent table populate the child table
whenever it is needed.  Or perhaps there is a better way of doing this?
John Vinson - 14 Jan 2004 22:16 GMT
>I have multiple table the parent table holds customer info, the child table
>holds out of state info.  Due to normalization I am breaking up the tables
>because only 25% of my records have out of state info.  What I want to do is
>to have the primary key from the parent table populate the child table
>whenever it is needed.  Or perhaps there is a better way of doing this?

This is a classic case of "subclassing", and is one of the few
instances where a one-to-one relationship is appropriate.

The easiest way to populate the child table is to use a Form based on
the customer table, with a Subform based on the out of state table,
using the CustomerID as the Primary Key of both tables, and as the
Master/Child Link Field of the subform. New records will inherit the
CustomerID when you enter data into the subform, and linked records
will be displayed together.

                 John W. Vinson[MVP]    
   Come for live chats every Tuesday and Thursday
http://go.compuserve.com/msdevapps?loc=us&access=public
 
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.