Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Value List Mind Twister

Featured Replies

I have been grinding on this 'non functioning' value list for over a month and no matter what weird / exotic / unexpected methodology I try, it still acts weird.

Please check it out at: http://ronaldogordono.googlepages.com/valuelist2

The database is there for the downloading. I appreciate your thoughts.

It's not a value list problem, but a relationships problem. You are trying to create a new option transaction directly from Stock, without telling Filemaker which option should be the parent option of this new record.

Since there must be a parent option, and since the relationship between Stock and Options is allowed to create new records, Filemaker "fills the gap" by creating a new option to serve as the parent of the new transaction.

  • Author

Thanks for the reply. (Every thought helps). I suspected that might be a problem so I changed the Layout to be based on OPTIONS. This results in the dreaded "[color:red]No Values Define" in the optionTransactdions::optionid.fk field.

In analyzing what you said, about FM "filling the gap", since each option is based on (related to) a particular stock and since each stock can have numerous options, how do I structure a OptionTransactions field to indicate the Option upon which a particular OptionsTransaction is based? (I am now trying to do it through the OptionTransaction::OptionID.fk as a popup into Options::OptionID.pk and Options::optSymbol :)

How do I work around that?

Edited by Guest

I have been grinding on this 'non functioning' value list for over a month and no matter what weird / exotic / unexpected methodology I try, it still acts weird.

Please check it out at: http://ronaldogordono.googlepages.com/valuelist2

The database is there for the downloading. I appreciate your thoughts.

That's because you have the relationship backwards. The OptionTransaction should be linked direct to Stock by a field you do not yet have in that table: stockid.fk

stockoptions.zip

  • Author

WOW! It works as I wanted it to work. Thanks for your insight.

I am still somewhat perplexed as to WHY it works. Specifically, OPTIONTRANSACTIONS are based on OPTIONS. And, OPTIONS ARE BASED ON (related to) STOCKS.

According to your working relationship diagram, EVERYTHING (including OptionTransactions) is related to Stocks.

Perhaps OPTIONTRANSACTIONS::OptionID.fk is finding the right OPTIONS::optsymbol because the LAYOUT already has the right STOCKID.pk selected above the portal and then OptionTransactions just uses that ID to find the relevant OPTIONS::optsymbol?:?

I think this is the crux of what I don't understand.

Anyway, I really appreciate your insight and help.

ron

since each option is based on (related to) a particular stock and since each stock can have numerous options, how do I structure a OptionTransactions field to indicate the Option upon which a particular OptionsTransaction is based?

You must select the right option before you can create transactions for it. You could place the selected option's OptionID in a global field in Stock, and base the creating portal on a new relationship:

Stock::gOptionID = OptionTransactions 2::OptionID

or simply go to the selected option's record and create the transactions there, using the existing relationship. In either case, the OptionID will be inserted automatically into the new transaction record - you do not need a value list for this.

  • Author

ishot-276-full;init:.jpg

Thanks BruceR. This worked great!

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.