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.

Featured Replies

  • Newbies

Is there any way to define which value list a field uses by using script maker? Long shot, I know, but I can always hope

  • 3 weeks later...

HI,

I realize it's been a while since your post so you may have already found a solution to this, but I've been playing around with this one. The best you can do is write the script so that it does:

Go to Field[]

Open ValueLists[] << the script then pauses automatically and waits for the user to chose a value-list

Other script steps...

There is no way to automatically chose one list over another without the users input, unfortunately!

Louisa

  • Author
  • Newbies

Thank you! I have not been able to find another solution, so I will try that ASAP. Thanks again!

Reagan

quote:

Originally posted by reagank:

Is there any way to define which value list a field uses by using script maker? Long shot, I know, but I can always hope

You could design a value list (i.e. dynamicValueList) which is the contents of some temp field (i.e. tempValueList) in your database.

In your layouts you set the fields to be using the dynamicValueList. Then you set a script which uses the "Paste Result" step to set the tempValueList field with the results of the "ValueListItems" function, specifying the particular value list that you actually want to use.

In this scenario you have to remember to clear that field before performing this procedure again.

An easier way to do this is to setup the tempValueList field in a file (such as a Menu or Login file) which only has 1 record. The rest of the procedure is the same, but now you only have 1 record to worry about clearing out.

I have done this before with much success. Although awkward to setup it actually works pretty well.

------------------

=-=-=-=-=-=-=-=-=-=-=-=-=

Kurt Knippel

Senior Filemaker Developer

http://www.inthescene.com

mailto:[email protected]

=-=-=-=-=-=-=-=-=-=-=-=-=

Alternative is ensure your value list is held in a field and then you can source it directly, No? Still going to be pausing for user selection though unless yo are alredy defining their selection then combine PASTE RESULT and calc. are the answer.

Good luck.

Unless that is your trying to define a feild from your script.

quote:

Originally posted by reagank:

Is there any way to define which value list a field uses by using script maker? Long shot, I know, but I can always hope

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.