dbTalk Databases Forums  

FM7 or 8 - Using a portal to show data from more than one related table?

comp.databases.filemaker comp.databases.filemaker


Discuss FM7 or 8 - Using a portal to show data from more than one related table? in the comp.databases.filemaker forum.



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

Default FM7 or 8 - Using a portal to show data from more than one related table? - 10-20-2006 , 09:51 PM






I've read a number of items on this but can't seem to find any good (or
should I say clear) examples of how to display data from more than one
table in a portal row. Unfortunately, my understanding of the use of
join tables is slim to none and this appears to be how many solutions
are described. I am working on a human resources database where the
primary table contains basic employee information and other tables hold
various other pieces of data related to each employee.

For example:

Employees is the main table (primary key is Employee ID)

Other tables are:

Reviews
Milstones
Counseling


Throughout the course of the year, an employee might get a review,
acheive a milestone, or be counseled. Is there an easy way to get all
of the data from each of these three tables rolled up into one portal
sorted by date? The reason they are broken out like this is because
users require different access levels to view edit or add records to
the various tables.

I realize the solution offered may be to put Reviews, Milestones,
Counsleing all in the same table or do some sort of tabbed interface, I
was just hoping for a more robust solution where I might learn a bit
more about multiple relationships in FM 7 or 8 and get a nice
presentation of the data at the same time.

Thanks in advance...


Reply With Quote
  #2  
Old   
Bill Marriott
 
Posts: n/a

Default Re: FM7 or 8 - Using a portal to show data from more than one related table? - 10-20-2006 , 11:14 PM






Well, what you want is for data from all three tables to be "collated" into
a single list. For that to happen the must be a table in which all those
items are combined, one record per event. You can manage the access levels
within that single table -- separating them is not required.

If you think about it the three tables are really very much alike. Each
would have:

- Date/Time
- Title/Summary
- Description
- Attached Documents
- Type (Review/Milestone/Counseling)

As for the access levels you can specify who can access and/or edit those
records, and even build logic into the relationship itself to suppress their
very existence.


"Hahnium" <bill.hahn (AT) gistandherlin (DOT) com> wrote

Quote:
I've read a number of items on this but can't seem to find any good (or
should I say clear) examples of how to display data from more than one
table in a portal row. Unfortunately, my understanding of the use of
join tables is slim to none and this appears to be how many solutions
are described. I am working on a human resources database where the
primary table contains basic employee information and other tables hold
various other pieces of data related to each employee.

For example:

Employees is the main table (primary key is Employee ID)

Other tables are:

Reviews
Milstones
Counseling


Throughout the course of the year, an employee might get a review,
acheive a milestone, or be counseled. Is there an easy way to get all
of the data from each of these three tables rolled up into one portal
sorted by date? The reason they are broken out like this is because
users require different access levels to view edit or add records to
the various tables.

I realize the solution offered may be to put Reviews, Milestones,
Counsleing all in the same table or do some sort of tabbed interface, I
was just hoping for a more robust solution where I might learn a bit
more about multiple relationships in FM 7 or 8 and get a nice
presentation of the data at the same time.

Thanks in advance...




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.