A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

One to Many relationship



 
 
Thread Tools Display Modes
  #1  
Old June 30th, 2004, 06:20 PM
Richard Gurney
external usenet poster
 
Posts: n/a
Default One to Many relationship

Does anyone know if it is possible to create a subform on
a form such that the ONE TO MANY relationship checks on
two sets of related fields.eg where you have families
with children and the father is the related link and
there is more than one father named for example John, but
the wife of each John has a different name
  #2  
Old June 30th, 2004, 08:55 PM
John Vinson
external usenet poster
 
Posts: n/a
Default One to Many relationship

On Wed, 30 Jun 2004 10:20:19 -0700, "Richard Gurney"
wrote:

Does anyone know if it is possible to create a subform on
a form such that the ONE TO MANY relationship checks on
two sets of related fields.eg where you have families
with children and the father is the related link and
there is more than one father named for example John, but
the wife of each John has a different name


Yes - you can put *up to ten* fields in the Master Link Field and
Child Link Field properties of a subform, separated by semicolons.

I would, however, NOT recommend ever using people's names as linking
fields. There are many people named John (I'm one); there are even
multiple people named John Vinson (I met one in a local garage, I was
waiting to pick up my car and the owner called out "John Vinson's car
is ready" and a tourist passing through said "that was quick, I just
drove in!")

You should have some sort of unique personID and link on it.

John W. Vinson[MVP]
Come for live chats every Tuesday and Thursday
http://go.compuserve.com/msdevapps?loc=us&access=public
 




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 Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Access 2000 Relationship window lmontey General Discussion 1 June 16th, 2004 04:17 AM
Database -relationship set up Harry Bo Database Design 3 June 15th, 2004 12:06 AM
Prevent Dups in One-To-Many Relationship Tom Database Design 4 June 9th, 2004 03:53 AM
Printing the relationship window Leslie Isaacs Database Design 2 June 8th, 2004 01:27 PM
Setting dual relationship with tool connector Carlos Visio 0 May 20th, 2004 12:51 AM


All times are GMT +1. The time now is 07:39 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.