Jump to content
The ORIGINAL FileMaker Community - Forum - Online Business Apps & Software Forum

Recommended Posts


Dear All,

I have a drop down menu it takes only "Yes and No" values. I want to write a script if I chose Yes I should get two in-boxes like create date and expire date. If I choose No I should not get any in-box.


I will appreciate if anyone can tell me is it possible to do it in filemaker pro 9?

Share this post

Link to post
Share on other sites

In FileMaker Pro 9 I would....



a) Create a calculation field result type number defined as Case (YourDropDownField = "Yes"; YourPrimaryKeyField)


Let's call that new field PrimaryIfYes.


b) Make a new relationship of your table to itself based on PrimaryIfYes = YourPrimaryKeyField. This will prompt the generation of a new table occurrence of your table, let's call that TO "YesOptions".


c) Create a single-row portal to YesOptions on your layout to the right of your dropdown field, and, in it, put the fields YesOptions::Create Date and YesOptions::Expire Date.



The Create Date and Expire date fields will only be visible when your dropdown field's value is "Yes".


Although technically the fields are "related fields", this selfjoin relationship is a selfjoin not only of this table to itself but this record to itself so those fields are in this record.

Share this post

Link to post
Share on other sites
This thread is quite old. Please start a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

Terms of Use