dbTalk Databases Forums  

Basic relationship question

comp.databases.filemaker comp.databases.filemaker


Discuss Basic relationship question in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
roadworthy@gmail.com
 
Posts: n/a

Default Basic relationship question - 04-24-2007 , 05:25 PM






I'm working on my first FM database (v8.5), & have a basic question on
how to relate two tables. The first table (Grants) has approx. 40
records. The second table (Contacts) will have about 30 records, as
some grants share a common contacts record.
I've set up a button in the Grant table's form which jumps to the
related record in the Contacts table. A Grant Number field is set up
as the match field - ie Grant Number appears in both tables & I've
created a relationship between them. This works great for the records
in Contacts that pertain only to one grant. My question is - how do I
relate several grants with one contact, so that this button in the
Grant table, in any of several records, takes me to its one contact?


Reply With Quote
  #2  
Old   
Christoph Kaufmann
 
Posts: n/a

Default Re: Basic relationship question - 04-25-2007 , 09:42 AM






<roadworthy (AT) gmail (DOT) com> wrote:

Quote:
I'm working on my first FM database (v8.5), & have a basic question on
how to relate two tables. The first table (Grants) has approx. 40
records. The second table (Contacts) will have about 30 records, as
some grants share a common contacts record.
I've set up a button in the Grant table's form which jumps to the
related record in the Contacts table. A Grant Number field is set up
as the match field - ie Grant Number appears in both tables & I've
created a relationship between them. This works great for the records
in Contacts that pertain only to one grant.
You have to identify the contacts with a unique serial number and make a
number field for this number in both tables. Now you jump from contacts
to grants with the same contact number.

--
http://clk.ch


Reply With Quote
  #3  
Old   
Grip
 
Posts: n/a

Default Re: Basic relationship question - 04-25-2007 , 10:41 PM



On Apr 24, 4:25 pm, roadwor... (AT) gmail (DOT) com wrote:
Quote:
I'm working on my first FM database (v8.5), & have a basic question on
how to relate two tables. The first table (Grants) has approx. 40
records. The second table (Contacts) will have about 30 records, as
some grants share a common contacts record.
I've set up a button in the Grant table's form which jumps to the
related record in the Contacts table. A Grant Number field is set up
as the match field - ie Grant Number appears in both tables & I've
created a relationship between them. This works great for the records
in Contacts that pertain only to one grant. My question is - how do I
relate several grants with one contact, so that this button in the
Grant table, in any of several records, takes me to its one contact?
Instead of having a Grant ID in the Contacts table, have a Contacts ID
in the Grant table. Then relate on that field.

G



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.