dbTalk Databases Forums  

Contacts within a Contact

comp.databases.filemaker comp.databases.filemaker


Discuss Contacts within a Contact in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Buckbuck
 
Posts: n/a

Default Contacts within a Contact - 01-31-2011 , 05:33 PM






FM 10

I have CONTACT database that has potentially eight contacts -
employees. I also have a related INVOICE database. Is there away to
create an Invoice for a CONTACT and then be able to select a contact
employee such that their email and contact number appears, through a
lookup or otherwise?

Thanks
Matthew

Reply With Quote
  #2  
Old   
Your Name
 
Posts: n/a

Default Re: Contacts within a Contact - 01-31-2011 , 11:41 PM






"Buckbuck" <buck.matthew74 (AT) yahoo (DOT) com> wrote

Quote:
FM 10

I have CONTACT database that has potentially eight contacts -
employees. I also have a related INVOICE database. Is there away to
create an Invoice for a CONTACT and then be able to select a contact
employee such that their email and contact number appears, through a
lookup or otherwise?
It depends on how your database is set-up, but usually it would be something
along these lines.

You would need to have at least three tables:

Invoices
Contacts
Employees

(The Invoices may or may not also need a sub-table for the line items.)

Each Contact table record would have a unique ContactID used to link it to
the related Employee table records.

In the Invoices table there would be a value list which retrieves it's
values from all the records in the Contacts table. Users can pick a Contact
from a pop-up field using this list and the data (perferably the unique
ContactID rather than the Name) can then be used as the link for a
relationship from the Invoices table to the Employees table to retrieve all
that Contacts' Employee Names for a second value list / pop-up field for the
user to choose from.

The data in this second pop-up field (again perferably a unique EmployeeID
rather than their name) can then be used in a relationship from the Invoices
table to the Employees table to retrieve the appropriate email address,
phone number, etc. details.

Helpful Harry )

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.