dbTalk Databases Forums  

relational drop-down menu (like in a portal)

comp.databases.filemaker comp.databases.filemaker


Discuss relational drop-down menu (like in a portal) in the comp.databases.filemaker forum.



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

Default relational drop-down menu (like in a portal) - 07-10-2007 , 02:29 PM






I'm an advanced user, and I've never been able to figure this out...

Let's say you have two databases...Contacts and Invoices
Every Contact has a Contact ID, and every invoices has a field for
that contact ID.

If I want to display a list of all invoices for that contact in the
Contact's layout, I just set up a relationship between the Contact ID
fields and make a portal...easy.

But what if I want to put just the data from just one field in that
portal into a pull-down menu? A global field that contains a list
showing the dates of all invoices for only that contact.

I just can't make the value lists work--I can't limit it to the dates
for just that particular client. No matter what I do, I get all the
dates from all the invoices. What am I doing wrong?

I want to choose something from that place that says "include only
related values starting from" but I don't really know what this means,
considering my relationship is already chosen from above.

Thanks for any advice you may have.

David Averbach


Reply With Quote
  #2  
Old   
Matt WIlls
 
Posts: n/a

Default Re: relational drop-down menu (like in a portal) - 07-10-2007 , 03:28 PM






In article
<1184095780.181441.96210 (AT) i13g2000prf (DOT) googlegroups.com>David
Averbach <dnaverbach (AT) mac (DOT) com> wrote:

Quote:
I'm an advanced user, and I've never been able to figure this out...

Let's say you have two databases...Contacts and Invoices
Every Contact has a Contact ID, and every invoices has a field
forthat contact ID.

If I want to display a list of all invoices for that contact in the
Contact's layout, I just set up a relationship between the Contact
IDfields and make a portal...easy.

But what if I want to put just the data from just one field in that
portal into a pull-down menu? A global field that contains a
listshowing the dates of all invoices for only that contact.

I just can't make the value lists work--I can't limit it to the
dates for just that particular client. No matter what I do, I get all
thedates from all the invoices. What am I doing wrong?

I want to choose something from that place that says "include only
related values starting from" but I don't really know what this
means,considering my relationship is already chosen from above.

Thanks for any advice you may have.

David Averbach

The value list based on the relationship displays everything meeting
the criteria of the relationship.
Create another Table Occurrence (Relationship) which limits the
criteria to that client. Base the value list on that relationship.
Matt




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.