dbTalk Databases Forums  

Re: How to build the relation of "1" to"N"

comp.databases.ms-access comp.databases.ms-access


Discuss Re: How to build the relation of "1" to"N" in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Tom van Stiphout
 
Posts: n/a

Default Re: How to build the relation of "1" to"N" - 06-04-2010 , 08:32 AM






On Fri, 4 Jun 2010 06:52:54 -0400, "Douglas J. Steele"
<NOSPAM_djsteele (AT) NOSPAM_gmail (DOT) com> wrote:

Additionally you need a unique index (typically the Primary Key) over
the field(s) on the 1-side. On the fields on the many-side there is no
unique index or PK (otherwise you would get a 1:1).

Then you need to go in the Relationships form and draw the relation
from the field(s) on the 1-side to those on the M-side. It's also
highly recommended to enforce the relationship (see checkbox in
Relationship form).

-Tom.
Microsoft Access MVP


Quote:
You need two tables: one to hold the "1" information, related to one to hold
the "N" information.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.