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  dBforums > PC based Database Applications > FileMaker > Conditional Value Lists (FMP7)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-03-04, 03:15
joetravel joetravel is offline
Registered User
 
Join Date: Dec 2004
Posts: 1
Conditional Value Lists (FMP7)

I setting up a contact db for a community organization using FMP7.

I have a field "Category" that is defined as a value list containing

Member
Officer
Resource

And I have value lists for each of those Categories.

I want to have field ("Role") next to it on the layout whose content is chosen from a drop down list. The drop down list that is displayed in the Role field should be conditional upon the the contents of the Category field.

Assuming the appropriate drop down field is displayed, the user would the choose one of those values.

My question is, what script would cause the appropriate drop down list to appear in "Role".

Should Role be an text field or a calculated text or should it be a container?

Thanks in advance for help with this.
Reply With Quote
  #2 (permalink)  
Old 12-21-04, 09:21
CobaltSky CobaltSky is offline
Registered User
 
Join Date: May 2004
Location: Melbourne, Australia
Posts: 23
Hello joetravel,
Your category and role fields should both be a text fields. The category field will hold the text values Member, Officer etc. You should establish a relationship from it to a corresponding field in a table where the related Role values are stored (one on each record, against the corresponding category).

Then, if you set up the value list for the Role field to take values from the role field in the related table, but instead of choosing the option for 'All values' from that field, instead choose the option for 'only related values'. When you do, the list for the Role field will be filtered according to what has previously been selected in the Category field.
__________________
-------------------
Ray
FileMaker Developer
http://www.nightwing.com.au/FileMaker
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On